Reset gridview RRS feed

  • Question

  • User1652530521 posted


    I have a webform with gridview  inside an updatepanel. I have a reset button that is placed also inside another updatepanel.

    If the gridview is in edit mode and user clicks reset button and then the search button again then the gridview is shown in the state it was when reset button was clicked.

    I need the gridview to be in the normal state without any row in edit mode.

    In the reset button I have upGrid.Update() //upgrid is the id of the grid's updatepanel.

    What am i doing wrong?


    Tuesday, August 18, 2015 4:26 PM


  • User1644755831 posted

    Hello whisky,

    First of all please check if what it is doing in when you do the reset? is it doing partial post back or full post back. My guess is that Grid is inline edit right? I think you can just Rebind the data. Please Provide sample code so we can reproduce the issue on our side.

    Please see: http://www.codeproject.com/Articles/42340/Inplace-Edit-in-GridView

    Hope this helps.

    With Regards,

    Krunal Parekh

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 19, 2015 10:16 PM