I'd like to programmatically force a full page postback to occur after an event is fired by one of the child controls. I can't add any triggers to make this work so it will have to be done via code. Thanks.
+2
A:
Sorry, don't understand. By the time an event in codebehind is running, a postback has already happened.
RickNZ
2010-01-13 21:23:29
the control has a timer which then runs a process to see if a scheduled task is complete. Once complete I want the main window to reload certain contents which are not in update panels and as such the must be a full postback.
Middletone
2010-01-13 23:01:20
A:
If you mean a client side event then setup OnClientClick to call what is returned by the following after your other client side functionality:
Page.ClientScript.GetPostBackEventReference(control, "")
(It will be something like __dopostback)
Mister Cook
2010-01-13 22:20:08