HeartattacK

How to Show / Hide a ModalPopupExtender using Javascript

If we have a ModalPopupExtender with the id ‘modPopup_ModalPopupExtender’, and need to display or hide it in javascript, we can easily do this using the $find() function.

Let’s see this in action:

ASPX:

modalPopupjs

Javascript:

modalPopupjs2

The code is pretty self explanatory. Hope that helps.

Comments

mahes said:

More then one popup in one page.how to fine show popup

# November 14, 2009 5:58 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)