Rank: Advanced Member Groups: Member
Joined: 8/24/2007 Posts: 130
|
Hi,
I have a situation where I need to generate a postback within a postback event handler. I have placed a ScriptEvent on my page, and am using ClientScript.RegisterStartupScript to add a call to eo_TriggerServerEvent to achieve this.
I am finding that this strategy is working fine in IE, but the call to eo_TriggerServerEvent is having no effect in Firefox (although I can see that it is getting called).
Is the eo_TriggerServerEvent function only intended for use during page GET?
Regards, Phil
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I believe you should avoid that situation. Like any other JS function that triggers a post back, eo_TriggerServerEvent calls form.submit to do post back. How the browser handles a new post back in the middle of an existing post back is definitely somewhat of a gray area.
Thanks!
|