How to force a full return from code?

I would like to programmatically force a full page callback after one of the children fires an event. I cannot add any triggers to do this work, so this needs to be done using code. Thank.

+3
source share
2 answers

Sorry, I do not understand. By the time the event is fired in codebehind, postback has already occurred.

+2
source

If you mean a client-side event, then configure OnClientClick to call what returns next after your other client function:

Page.ClientScript.GetPostBackEventReference(control, "")

(This will be something like __dopostback)

0

Source: https://habr.com/ru/post/1728360/


All Articles