Posted
on Mar 14, 2012
(permalink)
Hi, I have a multiple telerik grid that make use of the jQuery component so in my site master (working with mvc) I have this declared:
<%
Html.Telerik().ScriptRegistrar().jQuery(true)
.DefaultGroup(group => group.DefaultPath("~/Resources/Shared/js")
.Add("jquery.validate.min.js")
.Add("jquery-ui-1.8.18.custom.min.js")
.Add("jquery.cookie.js")
.Add("jquery.watermark.min.js")
.Add("Site.js")
.Add("errorHandling.js"))
.Render();%>
The problem I 'm having is that for 2 pages, I need jQuery to be set to true and for another I need it to be set to false otherwise my ckeditor in that page which is a message board doesn't show up and doesn't append messages in my message board. When jQuery is set to false, the page where I have my grid doesn't allow me to use the filtering option.
Is there a way I could set the scriptRegistrar in individual pages this way I could set jQuery to true where i need it and false where i dont need it??
You can see in the image what it looks like in both cases.