AjaxControlToolkit ValidatorCalloutExtender does not work with UnobtrusiveValidation



I have a WebForms application. If I target the application to use .NET 4.6 framework, the ValidatorCalloutExtender does not work. If I switch off the UnobtrusiveValidation, the validation works fine. We don't want to turn off the UnobtrusiveValidation setting. Is there any other solution?

Thank you.
Closed Mar 10, 2016 at 5:08 PM by MikhailTymchukDX
AJAX Control Toolkit was moved to GitHub: https://github.com/DevExpress/AjaxControlToolkit
The fix for this issue is available with the v16.1 release: https://github.com/DevExpress/AjaxControlToolkit/releases/tag/16.1.0


MikhailTymchukDX wrote Jan 18, 2016 at 8:41 AM

ValidatorCalloutExtender relies on the old way of validation, which is not compatible with unobtrusive validation. We are aware of this issue and are looking for ways to resolve it.
However, unobtrusive validation depends on jQuery, but AJAX Control Toolkit does not use it, so there is no guarantee that this extender will be forward-compatible with .NET Framework 4.5+

vaspari wrote Jan 20, 2016 at 2:14 AM

Hi Mikhail,

Thank you very much for the response. Going forward, are there plans to use jQuery with Ajax Control Toolkit or if otherwise, deprecate this control? Are there any other known issues to look out for with Ajax Control Toolkit vis-a-vis .NET 4.6?

MikhailTymchukDX wrote Jan 20, 2016 at 10:58 AM

Currently, we do not plan to implement jQuery support in Ajax Control Toolkit. However, we won't deprecate this control in the near future either. In any case, there is no need to be concerned. If we decide to deprecate a control, we always provide an alternative with a similar functionality.
As regards .Net 4.6, the AJAX Control Toolkit will operate correctly in it while the framework supports backward compatibility.

vaspari wrote Jan 20, 2016 at 6:22 PM

Thank you for the clarification Mikhail.

I stumbled upon this link about Ajax Control Toolkit and jQuery http://stephenwalther.com/archive/2013/09/30/ajax-control-toolkit-now-supports-jquery

Just curious.. has this effort been abandoned?

MikhailTymchukDX wrote Jan 21, 2016 at 9:10 AM

Yes, these changes were rolled back. We wrote about it in What’s New in v15.1 when released AJAX Control Toolkit v15.1.

vaspari wrote Jan 21, 2016 at 6:28 PM

Thank you for all the explanations.

MikhailTymchukDX wrote Jan 22, 2016 at 11:14 AM

We published a fix for this issue: 24be5b9
Would you please try to download it and check if this hotfix improves the things in your scenario?

MikhailTymchukDX wrote Jan 29, 2016 at 10:19 AM

The fix will be available with the next release.