Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Page_Validators is undefined [Solved] in ASP.NET 4.5 – RadScheduler

Introduction

Earlier this week, I used the ASP.NET AJAX Radscheduler for the first time. Once I set the necessary properties and tried to debug the page on which the RadScheduler (version 2014.2.618.45) control resided, even though I was performing no binding at all yet, I received the following error:

Page_Validators is undefined

After some research, I discovered that client-side validators work differently in ASP.NET 4.5. Microsoft’s methodology utilizes Jquery and when using a RadScriptManager you can encounter difficulties. The expectation is that you will have jQuery in the global jQuery variable, but Telerik provides it via the $telerik field.

Resolution

Short of registering my own jQuery on the page to get around this, I decided to simply disable the UnobtrusiveValidationMode by adding the following key to my <appSettings> section:

<add key=”ValidationSettings:UnobtrusiveValidationMode” value=”None”/>

 


Filed under: .NET Development, ASP.NET Tagged: ASP.NET, Page_Validators, RadScheduler, UnobtrusiveValidationMode


This post first appeared on John Nelson's, please read the originial post: here

Share the post

Page_Validators is undefined [Solved] in ASP.NET 4.5 – RadScheduler

×

Subscribe to John Nelson's

Get updates delivered right to your inbox!

Thank you for your subscription

×