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
60
ignore WebAsyncRefreshPanel
posted

I have a apsx with a WebAsyncRefreshPanel. In that panel I have some usercontrols. After doeing a postback, I don't want to refresh one usercontrol because the dropdownlist inside that usercontrols gets rebinds and the selected value is gone, even when i store the selected value in viewstate. So my question is, can I tell the WebAsyncRefreshPanel to not refresh.

 

Kind Regards

Parents
No Data
Reply
  • 24497
    Suggested Answer
    posted

    Hi Igharrac,

    You can not exclude part of WebAsyncRefreshPanel's content from refresh.
    The best you can do, is to use several WebAsyncRefreshPanels which will contain only controls which should be updated. You may use LinkedControlRefreshID properties in chain to link all those sibling panels. In this case async postback in any of them will refresh all of them. Since your usercontrol will be outside of them, it will not be affected.

Children
No Data