I need to open a popup window based on a condition in code behind and WITHOUT USING ON CLICK. This is not for the situation when user clicks on something; it's solely needed when something has happened and user is not aware so he/she needs to be notified.
Ben Aminnia
Member
46 Points
170 Posts
Conditional popup (without onclick)
Dec 24, 2012 01:51 PM|LINK
I need to open a popup window based on a condition in code behind and WITHOUT USING ON CLICK. This is not for the situation when user clicks on something; it's solely needed when something has happened and user is not aware so he/she needs to be notified.
RichardY
Star
8376 Points
1573 Posts
Re: Conditional popup (without onclick)
Dec 24, 2012 02:22 PM|LINK
The AjaxControlToolkit's ModalPopupExtender has a show() method that can be called from code behind:
http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=694