Can't use Telerik jquery function in content page?

4 posts, 0 answers
  1. Duy
    Duy avatar
    3 posts
    Member since:
    Feb 2012

    Posted 02 May 2012 Link to this post

    Hi, I try using jquery function in content page,$telerik functions that shown in master page is OK, but it doesn't show in content page ?
    Any help?
     
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 03 May 2012 Link to this post

    Hi Duy,

    In general, to have JavaScript Intellisense you need the script files to be registered on the page, that is what actually ScriptManager control is doing, thus you need to have RadScriptManager declared in the content page.

    However, this may not be possible in case where you need to have ScriptManager control on the master page. For such scenarios, you can use asp:ScriptManager and asp:ScriptManagerProxy controls and register the scripts required by RadControls:
    <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" />
    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />

    I hope this helps.

    All the best,
    Dobromir
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Duy
    Duy avatar
    3 posts
    Member since:
    Feb 2012

    Posted 05 May 2012 Link to this post

    I had master page  which contains RadScriptmanager.
    Javascript telerik functions are shown in a1.jpg (Master Page)
    but..
    in content page, javascript telerik functions didn't show ?

    How to show telerik function in content page ? Thanks

     
     
  4. Duy
    Duy avatar
    3 posts
    Member since:
    Feb 2012

    Posted 05 May 2012 Link to this post

    any body help ? :(
Back to Top