+1-888-365-2779
Try Now
More in this section

Forums / Deployment / One scriptmanager on the page can exist error

One scriptmanager on the page can exist error

3 posts, 0 answered
  1. G S S
    G S S avatar
    71 posts
    Registered:
    16 Mar 2008
    26 Feb 2010
    Link to this post
    Hi,

    I add a new page in Sitefinity. I then add a control (which contains the form tags and runat=server), but I get told that I can only have one scriptmanager on the page when my control itself has no scriptmanagers.

    How can I fix this?

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    28 Feb 2010
    Link to this post
    Hello G S S,

    You can have only one runat form on a page. On the other hand nested form elements are not allowed in HTML.  You should also have one ScripManager declaration.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. G S S
    G S S avatar
    71 posts
    Registered:
    16 Mar 2008
    28 Feb 2010
    Link to this post
    My control looks like this:

      <form id="MainForm" runat="server">
     
     <div>
       
    And then inside the div, the content, and of course the partnering closing tags.  The form element is not actually nested.
Register for webinar
3 posts, 0 answered