Welcome Guest Search | Active Topics | Sign In | Register

Dialog Fails To Open - IE Only Options
Scott
Posted: Wednesday, January 26, 2011 9:39:53 PM
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.
eo_support
Posted: Thursday, January 27, 2011 8:31:31 AM
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!
Scott
Posted: Thursday, January 27, 2011 12:44:16 PM
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
eo_support
Posted: Thursday, January 27, 2011 2:18:02 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.