Optional data binding using UpdatePanel

Last post 07-15-2007 11:52 PM by chetan.sarode. 4 replies.

Sort Posts:

  • Optional data binding using UpdatePanel

    07-09-2007, 5:05 PM

    I'd like to have several grids on a web page, each inside a separate UpdatePanel in conditional update mode.

    Then I'd like to be able to page or sort a single grid, and have only that grid populate its data from the database.

    The other grids should not do a DataBind(). So, I want to know, for each UpdatePanel, whether it will be updated on the client.

    It would seem that the IsInPartialRendering property could be used for this, but it always seems to return false, at least during the Load and PreRender events of the UpdatePanel.

    In what way can this behavior be implemented? We really don't want to retrieve data that won't be sent back to the client.

     

  • Re: Optional data binding using UpdatePanel

    07-11-2007, 5:41 PM
    • Contributor
      4,792 point Contributor
    • KaziManzurRashid
    • Member since 03-09-2003, 3:04 PM
    • Dhaka, Bangladesh
    • Posts 882

    fernandoacorreia:

    during the Load and PreRender events of the UpdatePanel.

    Am not sure are using the UpdatePanel Load and Prerender method to check IsAsyncPostback. Could you also post some code?

    Long Live .NET
    Kazi Manzur Rashid (Amit)
    _________________________
    Web: http //dotnetshoutout.com
    Blog: http://weblogs.asp.net/rashid
    Twitter: http://twitter.com/manzurrashid
  • Re: Optional data binding using UpdatePanel

    07-12-2007, 4:57 AM

    Hi

    "So, I want to know, for each UpdatePanel, whether it will be updated on the client."What you mean?

    Sincerely,
    Jin-Yu Yin
    Microsoft Online Community Support
  • Re: Optional data binding using UpdatePanel

    07-15-2007, 10:27 PM
    Answer

    Hi

    You want that just one updatepanel be postbacked and be DataBinded in asynpostback,Then you want to get data from that updatepanel and refresh other updatepanel with these data on the client.

    Is this what you want?

    I think you can do this via javascript at the requestEnd event handler.

    If you need more information,please let me know.

    Thanks

    Sincerely,
    Jin-Yu Yin
    Microsoft Online Community Support
  • Re: Optional data binding using UpdatePanel

    07-15-2007, 11:52 PM
    Chetan Sarode
    Software Engineer,
    Approva Systems Pvt Ltd,
    Pune, India.
Page 1 of 1 (5 items)