locked
postbacktrigger RRS feed

  • Question

  • User1427616092 posted

    Greetings,

     what is the benefit of the postbacktrigger within the updatepanel if it makes a a full postback?

    since the updatepanel is specific for asynchronous postback!!!! 

     your help is highly appreciated

    best regards.
     

    Tuesday, November 13, 2007 1:13 AM

Answers

  • User1649422797 posted

     Some controls aren't supported in update panels, so you may want to do a full postback  if something happens that will cause that control to change.  We had to do this with the report viewer..

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 13, 2007 11:29 AM

All replies

  • User1649422797 posted

     Some controls aren't supported in update panels, so you may want to do a full postback  if something happens that will cause that control to change.  We had to do this with the report viewer..

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 13, 2007 11:29 AM
  • User555306248 posted

    PostBackTrigger control to enable controls inside an UpdatePanel to cause a postback instead of performing an asynchronous postback.

    http://asp.net/AJAX/Documentation/Live/mref/T_System_Web_UI_PostBackTrigger.aspx

    Tuesday, November 13, 2007 10:24 PM
  • User1427616092 posted

     Thank you for the support.

    so if some some controls needs to cause a full postback within updatepanel so what is the benefit in this case to use the updatepanel????

    your help is highly appreciated

    Best regards. 

     

    Wednesday, November 14, 2007 1:15 AM
  • User1649422797 posted

     At one point a lot of the controls that aren't supported in update panels did work inside update panels, but as of the Beta releases, the update panels were changed, so it may have been to ease the transition for people who had been using previous version...as we had been doing.. 

     There may also be some cases that other content in the update panel can be refreshed asynchronously, although it has been a while since I have worked a lot with the controls that aren't supported.
     

    Wednesday, November 14, 2007 9:05 AM
  • User1427616092 posted

     Thank you for the support

    But i don't understand exactly what you say ,so you can give more details??

    your help is highly appreciated

    Best regards.

     

     

    Thursday, November 15, 2007 1:16 AM
  • User1649422797 posted

    There were CTP releases generally monthly that were public a little over 6 months before the first Beta release.  Around the second of the CTPs, the releases started to have good support in the forums and documentation, and the releases were able to be used in production websites.  When Beta 1 came out, the asyncpostback changed with update panels.  Upgrading to the Beta releases could take a lot of time because of the change.  Most of our major issues were solved by using a different control.  We ended up using the full post back in a web application we had, which was a very large page of about 5000 lines of code for the aspx and cs files.  There were three different versions of that page, which all have nested update panels.  In a couple of the nested panels we needed to have report viewers.  All this was also live at the time that Beta 1 came out, and many different users were already used to the system, so we couldn't change it too much.  Using the full postback trigger allowed us to have a button to make the report viewer visible while allowing everything else on the page to still update asynchronously. 

    Hopefully that helps. 

    Thursday, November 15, 2007 9:03 AM