A daft question?

3 posts, 0 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 20 Jan 2010 Link to this post

    Forgive me if this is something I should know.

    I've just used the VSX for the first time to create a page and I note that the markup generated includes this ...
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
      <Scripts> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
      </Scripts> 
    </telerik:RadScriptManager> 
     

    Now, I've created more than a few pages with telerik controls on and have always done so just adding an empty RadScriptManager to the page. What are the advantages of adding the 2 script references (or the disadvantages of not doing so)?

    --
    Stuart



  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 20 Jan 2010 Link to this post

    Hello Stuart,

    The scripts, declared in the RadScriptManager when creating a RadForm are added when the "Use jQuery Support" checkbox is checked. The "jQuery support" would mean that even if you don't add any Telerik control to the page you would benefit scripting with the embedded jQuery resources in the Telerik.Web.UI assembly.

    I hope this helps.

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 20 Jan 2010 Link to this post

    Blimey Erjan,

    You're quick off the mark.

    Thanks for the info.

    --
    Stuart
Back to Top