c# - How to call a full postback after the execution of the button click event inside an user control? -
c# - How to call a full postback after the execution of the button click event inside an user control? -
okay, have scenario:
there user command update panel within it. there button within update panel proper postback trigger beingness set. button_click event defined well. need phone call total postback of parent aspx page 1 time "button_click" event completed. under ideal case, form submission events such postbacks occur before event based methods executed. means page first reloaded button click event executed. want reverse operation. first button_click event execution 1 postback after on aspx page(this page calls user control-> , user command has updatepanel button in it).
any possible way out highly appreciated.
i don't think there's way alter asp.net's lifecycle, 1 described. (dirty) way of postbacking parent page set hidden button on page, , phone call via javascript in uc. (via scriptmanager.registerstartupscript)
c# asp.net visual-studio-2012 user-controls page-lifecycle
Comments
Post a Comment