This is a migrated thread and some comments may be shown as answers.

Can't use Telerik jquery function in content page?

3 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Duy
Top achievements
Rank 1
Duy asked on 03 May 2012, 04:48 AM
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?
 

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 03 May 2012, 08:24 AM
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.
0
Duy
Top achievements
Rank 1
answered on 05 May 2012, 03:14 PM
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

 
 
0
Duy
Top achievements
Rank 1
answered on 06 May 2012, 04:20 AM
any body help ? :(
Tags
General Discussions
Asked by
Duy
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Duy
Top achievements
Rank 1
Share this question
or