Sunday, October 16, 2016

Why is DevExpress throwing up JavaScript alerts filled with unformatted HTML and error messages?

When updating a DevExpress control with a callback in the MVC paradigm it is all important that the DevExpress control be in a partial by itself without a bunch of other HTML (or any) sprinkled inside the control as this will sabotage the callback and when the callback is called the effect of a bunch of HTML barfing up in a JavaScript alert will materialize. Also you have to update DevExpress controls (from other controls) this way (callbacks). The AJAX HTML scrape-n-splice trick won't allow DevExpress controls to function healthily. If you isolate controls into their own partials and you still see these funny errors, attach the debugger in Visual Studio 2015 and try breaking on all exceptions.

No comments:

Post a Comment