Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1250
Full post back from WebAsyncRefreshPanel
posted

Please suggest how can I do full postpack inside WebAsyncRefreshPanel?

 

  • 75
    Suggested Answer
    posted

    Hello Alexander,

    The WebAsynchRefreshPanel has a property called 'TriggerPostBackIDs'! Just provide there the ID of the control that should trigger a full postback. But prefix the ID with a * in case you have a MasterPage environment. I provide you an example below!

    <igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel2" runat="server" TriggerPostBackIDs="*Button1">

    ...

     </igmisc:WebAsyncRefreshPanel>

    The above would cause, that the click on 'Button1' would trigger a full postback. In this way you can decide yourself when you want to have full- or asynchronous postback.

    Greets