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

No client-side validation for Telerik web application project

3 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
miksh
Top achievements
Rank 1
Iron
miksh asked on 25 Mar 2014, 03:06 PM
I created a Telerik Web application C# project in VS2013 and found out that no client-side validation occurs. Is it expected due to the Telerik project template is missing any of MS js libraries? 

3 Answers, 1 is accepted

Sort by
0
Misho
Telerik team
answered on 26 Mar 2014, 02:14 PM
Hi,

We are aware of this problem. It is a general configuration issue between the new unobtrusive ASP.NET 4.5 validation and jQuery. The way you could workaround this issue is to disable the Unobstrusive validation mode with the following line in web.config:

<appSettings>
       ...
       ...
 
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
   </appSettings>


More information regarding the issue as well as workarounds can also be found at the following links:
http://stackoverflow.com/questions/12452109/asp-net-2012-unobtrusive-validation-with-jquery
http://www.telerik.com/forums/validators-in-asp-net-4-5-and-the-new-unobtrusive-validation-mode
http://connect.microsoft.com/VisualStudio/feedback/details/735928/in-asp-net-web-application-visual-basic-the-requiredfieldvalidator-doest-work

I hope you will find this information helpful.

Regards,
Misho
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
miksh
Top achievements
Rank 1
Iron
answered on 26 Mar 2014, 03:13 PM
Thanks, works great.

Why not to add this option into Telerik project template then?
0
Misho
Telerik team
answered on 26 Mar 2014, 04:18 PM
Hi,

We will take your suggestion into consideration for future implementation. I've logged a public item in our feedback portal where you could observe its status, comment and vote.

Best Regards,
Misho
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
General Discussions
Asked by
miksh
Top achievements
Rank 1
Iron
Answers by
Misho
Telerik team
miksh
Top achievements
Rank 1
Iron
Share this question
or