Hi,
I post an example of extended function for JQuery embeded in Telrik RadControl.
Before you must add in your marster page or page the declaration of JQuery like this:
After this, you add the reference the javascript file in the ScriptManger.
You can donwload this script at this link
Then remane the variable "$" in the script by "$telerik.$".
Now you can add extended function to JQuery.
I post an example of extended function for JQuery embeded in Telrik RadControl.
Before you must add in your marster page or page the declaration of JQuery like this:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"> |
<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> |
After this, you add the reference the javascript file in the ScriptManger.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"> |
<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" /> |
<asp:ScriptReference Path="~/jquery.json-1.3.js" /> |
</Scripts> |
</telerik:RadScriptManager> |
Then remane the variable "$" in the script by "$telerik.$".
Now you can add extended function to JQuery.