dalcantara
dalcantara

Reputation: 1611

Telerik Extensions DatePicker and JQuery DatePicker

I'm evaluating the Telerik MVC extensions primarily for the Chart functionality. I'm also using JQuery and JQuery.Ui thoruhgout out app. To get the grid to work I included the Telerik extensions by puting this @Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Combined(true).Compress(true) However, that seems to include its own version of JQuery which is breaking the JQuery Datepicker on other pages. Has anoyone else seen this? Or has anyone found anyway to "tell" telerik to not include JQuery and just use the one my app is already including?

Thanks

Upvotes: 2

Views: 610

Answers (1)

CD Smith
CD Smith

Reputation: 6607

Use this line to use your own jQuery

@(Html.Telerik().ScriptRegistrar().jQuery(false).DefaultGroup(group => group.Combined(true).Compress(true)))

This instructs Telerik to not use the jQuery version that it has installed with the controls but instead uses the version that you have included in your scripts section

Upvotes: 1

Related Questions