locked
update or refresh the usercontrols RRS feed

  • Question

  • User1944504294 posted

    Hi,

    Pleas help me.

    How to update or refresh the usercontrols  in Asp.Net(C#)

    best regards,

    Renuka.V

    Tuesday, November 25, 2014 9:36 AM

Answers

  • User1577371250 posted

    1. Place your User control in the Update Panel and Set the UpdateMode="Conditional"

    2. when click of button or in whichever event you want to update the usercontrol inside the updatepanel, just call the yourupdatepanelID.Update(); method

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2014 9:44 AM
  • User555306248 posted

    By using UpdatePanel controls, you can refresh selected parts of the page instead of refreshing the whole page with a postback. This is referred to as performing a partial-page update.

    http://msdn.microsoft.com/en-us/library/bb386454(v=vs.100).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 1, 2014 11:17 PM

All replies

  • User1577371250 posted

    1. Place your User control in the Update Panel and Set the UpdateMode="Conditional"

    2. when click of button or in whichever event you want to update the usercontrol inside the updatepanel, just call the yourupdatepanelID.Update(); method

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, November 25, 2014 9:44 AM
  • User555306248 posted

    By using UpdatePanel controls, you can refresh selected parts of the page instead of refreshing the whole page with a postback. This is referred to as performing a partial-page update.

    http://msdn.microsoft.com/en-us/library/bb386454(v=vs.100).aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, December 1, 2014 11:17 PM