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

[Solved] jquery and telerik

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Keshia
Top achievements
Rank 1
Keshia asked on 14 Mar 2012, 04:14 PM
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.
 

1 Answer, 1 is accepted

Sort by
0
Keshia
Top achievements
Rank 1
answered on 14 Mar 2012, 08:37 PM
i fixed it by myself. I just needed to declare $.noConflict() on all the pages that used jQuery
Tags
General Discussions
Asked by
Keshia
Top achievements
Rank 1
Answers by
Keshia
Top achievements
Rank 1
Share this question
or