ModalPopupExtender Showing/Hiding

The modal popup extender is pretty cool; it pops up a modal form on the screen with whatever you want to see, prompting the user to perform some action.  In previous iterations, you had to use a trick to show/hide the form though, by calling the javascript method rendered for it directly.  With the RTM version, there is an easier way.  The extender has Show() and Hide() methods respectively to perform the action.  It's best to put the code that triggers this in an UpdatePanel, so the page isn't posted back everytime to perform these actions.

I found this very useful to show a details view about the details of a form, instead of putting it at the bottom or right, because I had so much data being rendered on the screen.  It worked pretty nicely.

Published Tuesday, February 06, 2007 10:01 AM by bmains
Filed under: ,

Comments

# re: ModalPopupExtender Showing/Hiding

Saturday, December 08, 2007 2:20 AM by raja

need

# re: ModalPopupExtender Showing/Hiding

Monday, February 25, 2008 3:29 PM by za

za

The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.