Tuesday, September 01, 2009

Validation and the ModalPopupExtender

Two quick tips if you are using the ModalPopupExtender from the ASP.NET Ajax control toolkit:

  • If you need to do a postback from inside the panel set as your popup control, wrap the contents of the panel into an UpdatePanel.
  • If you add validation controls inside the panel set as your popup control, make sure the button used as the target control has CausesValidation set to false.

1 Comments:

Anonymous Anonymous said...

Perfect Thanks!

1:20 PM  

Post a Comment

<< Home