How do I enable jQuery for Telerik controls? I am running a sharepoint site with Telerik.Web.UI dll in the GAC. And the approach on the following blog post here does not work since my DLL is in the GAC.
I can see that jQuery is automatically loaded but for some reason the following code will not run.
If I do this, I get an error stating that it cannot find my Telerik DLL.
But if I put it in the Bin folder it throws a conflict error because the DLL is in the GAC. So I am not sure what else to do here.
I can see that jQuery is automatically loaded but for some reason the following code will not run.
| <telerik:RadCodeBlock ID="RadCodeBlock2" runat="server"> |
| <script type="text/javascript"> |
| (function($) { |
| $(document).ready(function() { |
| alert("home"); |
| // Tabs |
| var param1 = $.getURLParam("tab"); |
| $('#example').tabs({ |
| load: function(event, ui) { |
| $('a', ui.panel).click(function() { |
| $(ui.panel).load(this.href); |
| return false; |
| }); |
| } |
| }); |
| }) |
| })($telerik.$); |
| </script> |
| </telerik:RadCodeBlock> |
If I do this, I get an error stating that it cannot find my Telerik DLL.
| <telerik:RadScriptManager Runat=server id="RadScriptManager1"> |
| <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> |
But if I put it in the Bin folder it throws a conflict error because the DLL is in the GAC. So I am not sure what else to do here.