|
Rank: Member Groups: Member
Joined: 1/23/2011 Posts: 10
|
I have an application where I am using the Dialog Window. This dialog window is being called from a button on a GridView inside an update panel. It appears to working as expected in Chrome and Mozilla. When using IE 8 (compatibility on or off) the window will not display. There are instances where it will display the first time the button is pressed but not after that.
I have also seen this happen on other instances inside an update panel. I am opening the window via a server side call to the InitialState.
Any help is greatly appreciated.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, This appears to be a timing issue. You can try to render a piece of JavaScript inside the UpdatePanel (for example, through a Label control). In your script you can call our client side JavaScript interface to display the dialog with a time delay:
Code: JavaScript
window.setTimeout(function()
{
eo_GetObject("Dialog1").show();
}, 100);
Please let us know if that works for you. Thanks!
|
|
Rank: Member Groups: Member
Joined: 1/23/2011 Posts: 10
|
eo_support wrote:Hi, This appears to be a timing issue. You can try to render a piece of JavaScript inside the UpdatePanel (for example, through a Label control). In your script you can call our client side JavaScript interface to display the dialog with a time delay:
Code: JavaScript
window.setTimeout(function()
{
eo_GetObject("Dialog1").show();
}, 100);
Please let us know if that works for you. Thanks! I am not sure I totally understand you implementation. I can create the javascript function. How do you render the script via a label control. What event on can I use on the Label? thank you
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
You don't use any event. Just do something like this:
Label1.Text = "<script type='text/javascript'> whatever_js_you_wish_to_call(); </script>";
Thanks!
|
|