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
380
WebAsyncRefreshPanel not compatible with ASP.NET masterpages?
posted

Hi,

I couldn't find any reference to this issue, but it seems that the webasyncrefreshpanel doesn't work on a content page in the ASP.NET masterpages concept.

As long as I do not create the .aspx page using a masterpage template the asynchronous refresh in the webasyncrefreshpanel works.
If I use even an "empty" masterpage template when creating the .aspx page and place the control there, it generates always a full postback of the complete page.

I'm using NetAdvantage 2008 Volume 1.

Kind regards,
Andreas

Parents
No Data
Reply
  • 380
    Offline posted

    I have found the solution by myself.

    With masterpages it doesn't work to define the control that triggers the update in the properties of the WARP panel.
    It must explicitely be defined in the code-behind page in the page_load event of the content page like:
    WebAsyncRefreshPanel1.AddLinkedRequestTrigger(<control_ID>)

    Then it does work also with ASP.NET masterpages.

Children