Hi everyone
I've defined a WDW in master page with some content. I've intended to make this as a error or information message window. So I want to use it every content page. For example in one of my content page, I'm saving some fields with "Save" button. I've looked around for some code and I've found this JavaScript snippet that works fine.
But this just show wdw. I want to set the content of wdw dynamically in button's server side onclick event. (for example according to return value of stored procedure, successful or failed). How can I do this on server side ? I've tried some sort of things in server side also.
I've tried them seperately. I've been able to access masters controls but I've couldn't show it. Thanks !
Hi, Kerem.
Thank you for using our product and I hope I will be able to help you.
The following code should be enough to enable certain dialog state on the server:
dwMesaj.WindowState = DialogWindowState.Normal;
For the moment I cannot reproduce your problem, so I will ask you to send me isolated sample, if you can. This will help me to investigate further your case. Meanwhile I will continue and will notify you if I find something specific.
Best regards,
Nikolay Alipiev
Actually if I remove UpdatePanel from my content page, I can call dialog window from master page and show it. But inside the update panel I can not. I want to use update panel so how can I show the dialog ?