DetailView and Ajax ModalPopupExtender

 I use DetailView for inserting and displaying data. The detailview is poped up with ModalPopupExtender.

I do something like Matt Berseth did in his wonderfull blog:

But there is a bug that also exists in his example:

The DetailView has validators, if in some scenario the input is wrong validator warn about it but if you click on Close button of the popup, the detailview will be hidden but the validators are still active and will block any postbacks! So there is no way to show it again!

There is a live demo  (

Click on select link , insert some wrong input (blanks) and click close.

Then try to click on select again.

How can I fix that without removing validators ? 


5/4/2009 9:13:59 PM 72751 articles. 3 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 56