Docking Error : Scriptmanager 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.

2 posts, 0 answers
  1. Colin
    Colin avatar
    2 posts
    Member since:
    Jun 2009

    Posted 29 Jan 2010 Link to this post

    I am trying to add dock control to my web page.My web page has a vald 3.5 scriptmanager. but it has started to give this error :
    The control with ID 'RadDockZone1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

    I am pretty sure there is a scriptmanager on the page.I tired to set RegisterWithScriptManager="false" property and try again.But  after that ,it throwed that error 

    Unable to cast object of type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection' to type 'System.Web.Configuration.ScriptingScriptResourceHandlerSection'.

    I searched internet ,it was suggested  to change webconfig ajax part like this to solve this problem :

        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="" newVersion="" />

            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
            <bindingRedirect oldVersion="" newVersion="" />

    I did it ,but it did not work still same error given ,any idea ?

    Thanks in advance

  2. Pero
    Pero avatar
    1156 posts

    Posted 03 Feb 2010 Link to this post


    RadDockZone is AJAX enabled control and requires a ScriptManager on the page. Can you please test the following page in your website and see if you are getting the same error?

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head id="Head1" runat="server">
        <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
                <telerik:RadDockZone ID="RadDockZone1" runat="server" MinHeight="300px" Width="300px">
                    <telerik:RadDock ID="RadDock1" runat="server" Width="300px" Title="RadDock-Title">
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />

    In case the problem persists, please send us the web.config file of the WebSite, and we will try to find a solution to the issue.

    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top