ASP.NET MVC and Ajax Management Toolkit
One of the things I love about the "old skool" (web forms) encoding is the AJAX Control Toolkit.
I saw video 14 on Microsoft Storefront , Rob Konye using the TextboxWatermark control .
When I downloaded the code , I couldn't find any reference to the Watermark control or any other control from the toolbox, and I couldn't get it to work.
So my question is, does the AJAX Control Toolkit even work in the MVC / AJAX / JQuery type world without a viewstate. What do you use for "simple" controls like calendar and watermarks?
source to share
I did some research on this recently and I found that the AJAX Control Toolkit is not easy to use in the "JavaScript" style that you want to use for ASP.NET MVC. In fact, this is real pain. Here are two examples:
Example 2 - Auto-complete a text box
Nothing is easy.
You can provide your pages with MVC code and use the AJAX Control Toolkit just like in regular ASP.NET, but that really breaks the whole idea of MVC, so I would not recommend it.
My suggestion would be to follow Fredrik Kalseth's advice and use jQuery UI or one of the many plugins. Telerik also has some good Open Source MVC Controls that are jQuery based.
source to share
Most of the AJAX Control Toolkit is available in JavaScript with MVC support from the MS AJAX CDN . They can also be used using jquery plugin syntax.
source to share