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

UnobtrusiveValidationMode

3 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Cavit
Top achievements
Rank 1
Cavit asked on 07 Sep 2015, 09:24 AM

Hi,

I have upgraded the Telerik version from 2014.1 to 2015.2. Now getting an error for Jquery. As I found there are two multiple solutions:

1) Disable the UnobtrusiveValidationMode

2) Add definition for JQuery in global.asax.

 

If I choose the first option, will it affect any new functionality I will get from 2015.2 ? Which one do you recommend ?

 

Regards

3 Answers, 1 is accepted

Sort by
0
Cavit
Top achievements
Rank 1
answered on 07 Sep 2015, 09:29 AM
Addition to that, which jquery version is used in 2015.2 ?
0
Marin Bratanov
Telerik team
answered on 08 Sep 2015, 08:49 AM

Hi Cavit,

Our controls do not rely on the validation mode of the page, so disabling the Unobtrusive validation will not affect the UI for ASP.NET AJAX tools.

If you intend to use the Unobtrusive validation with our controls, however, I advise that you follow this article: http://docs.telerik.com/devtools/aspnet-ajax/general-information/troubleshooting/jquery-troubleshooting.

As for the jQuery version in Q2 2015 - it uses 1.11.1, as listed in the following article: http://docs.telerik.com/devtools/aspnet-ajax/general-information/using-jquery/using-jquery#jquery-version-history-in-telerik-ui-controls.

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Cavit
Top achievements
Rank 1
answered on 10 Sep 2015, 09:04 AM

Thanks Martin,

I will disable UnobtrusiveValidationMode to avoid breaking the inline js. I  am curious why this issue is surfaced now when I want to upgrade from 2014.1 to 2015.2 ? I didn't have this problem before.

 

Tags
General Discussions
Asked by
Cavit
Top achievements
Rank 1
Answers by
Cavit
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or