Can't seem to do "partial" postbacks after I do a "regular" postback

Last post 10-26-2006 2:07 PM by hmendez23. 1 replies.

Sort Posts:

  • Can't seem to do "partial" postbacks after I do a "regular" postback

    08-31-2006, 8:07 PM
    • Loading...
    • Compton
    • Joined on 01-06-2004, 3:08 PM
    • Posts 7

    Hello,

    I'm rather new to ATLAS and have a question I haven't seen answered here.  Any help appreciated.

    I have an existing ASP.NET application to which I just added a ScriptManager and some UpdatePanels.  I've set up an example page with several UpdatePanels that have Mode="Conditional", and that have triggers that reference other controls on the page (RB lists,checkboxes, etc.).  I also have a "Save" button that is not within an UpdatePanel and does a "regular" postback.

    Everything mostly works; that is, the "trigger" controls call the proper server-side event handlers and do the right thing without causing much flicker nor updating the browser "Status" bar.  Clicking on the Save button performs a regular postback, as it should. However, once I do a regular postback,  all of the other trigger controls on the page then start doing regular postbacks instead of partial ones.

    Looking at the ScriptManager instance via a breakpoint in the page's Load handler, I see that while its "EnablePartialRendering"  property is True, its "IsInPartialRenderingMode" is always false, even when a trigger control caused the postback.  That is, the IsInPartialRenderingMode is True when I click a trigger control before Save, but then False from then on.

    Is there something special I need to do to re-enable partial postbacks after doing a regular postback?

    Thanks in advance for any tips.

    Filed under: , ,
  • Re: Can't seem to do "partial" postbacks after I do a "regular" postback

    10-26-2006, 2:07 PM
    • Loading...
    • hmendez23
    • Joined on 10-24-2006, 4:53 PM
    • Posts 1

    hi,

    I had the same problem, in my case was that i had Smartnavigation="true" on my @Page directive. For some reason this was interfering with atlas functionality. I just removed this (the Smartnavigation="true") since i haven't found a workaround for this problem.

Page 1 of 1 (2 items)
Microsoft Communities
Page view counter