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

Forums / General Discussions / Navigation - Tree view control

Navigation - Tree view control

7 posts, 0 answered
  1. Smitha
    Smitha avatar
    22 posts
    Registered:
    29 Oct 2008
    24 Nov 2008
    Link to this post
    Hi!

    When i drag and drop the tree view control (under navigation) onto my master page in edit and save and come to regular mode. I get the below error.

    *********************

    The control with ID 'RadTreeview1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.



    ****************************
  2. Rob
    Rob avatar
    9 posts
    Registered:
    12 Jun 2008
    24 Nov 2008
    Link to this post
    I'm also getting this error.  I see the site tree on edit mode but when I preview I get this error.
  3. Smitha
    Smitha avatar
    22 posts
    Registered:
    29 Oct 2008
    25 Nov 2008
    Link to this post
    Please add the below to your master file inside the form tag. it works.

    _______________________

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>


    _______________________
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    25 Nov 2008
    Link to this post
    Hi Smitha,

    You are right that you need to add a script manager in the .master file as shown below:

    ... 
    <form id="form1" runat="server"
          <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
    ... 

    For more information on this matter please refer to the User Manual -> Creating a Master Page.


    Also, you could check out the following link for more information about ScriptManager control: http://www.asp.net/AJAX/Documentation/Live/overview/ScriptManagerOverview.aspx.

    All the best,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Manoj
    Manoj avatar
    2 posts
    Registered:
    08 Dec 2008
    12 Dec 2008
    Link to this post
    Hi,
        I used

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

    in my page and

    <pages>

    <controls>

    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    </controls>

    </pages>

    in the config file . But I am getting java script error like 'Telerik' Undefined and 'Sys' undefined .

    Can you please tell me why this error is coming.

    With Thanks & Regards
    Manoj
  6. Manoj
    Manoj avatar
    2 posts
    Registered:
    08 Dec 2008
    12 Dec 2008
    Link to this post
    Hi,
        I used

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>


    in my page and

    <pages>

    <controls>

    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

    </controls>

    </pages>


    in my config file . But now I am getting java script like 'Telerik' undefined and 'Sys' undefined .
    Can you please guide me why this is occuring .

    With Thanks & Regards
    Manoj
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    12 Dec 2008
    Link to this post
    Hi Manoj,

    Please check out whether you have the following line between your <httpHandlers> tag

    <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
7 posts, 0 answered