Rank: Advanced Member Groups: Member
Joined: 2/20/2008 Posts: 34
|
I've successfully used the Dialog several times for "are you sure" kinds of stuff. Now I'm trying to use it for a popup form that contains controls: some buttons and textboxes that I have in the ContentTemplate. The buttons have server side events. The problem I have is that when I push the button in the content area the dialog disappears!!
The server side event did trigger ok but the dialog is no longer there.
Is there something else I need to do? thanks, Gary
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That behavior is by design. When you trigger a server side event, your whole page is reloaded and everything is reset. If you need to redisplay the dialog, you can set the dialog's InitialState to Visible with code.
Thanks!
|