Welcome Guest Search | Active Topics | Sign In | Register

eo_TriggerServerEvent on postback Options
Mike Wynn
Posted: Monday, October 4, 2010 11:55:43 AM
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
eo_support
Posted: Monday, October 4, 2010 1:45:28 PM
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!


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.