Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
UPdateRowBatch for grid
posted

Hi,

I am having a web page where i am updating the grid using UPdateRowBatch event of grid. In this Page i have 2 button. one Approve and one next Page. I want to save the grid value only if Approve button has been clicked.

Currently it is saving if you click any button.

 

 

Parents
No Data
Reply
  • 3732
    posted

    Hi,

    The UpdateRowBatch event is fired when a postback occurs. In this case which happens when either one of the button is clicked. The best option would be to replace the "next Page" ASP.Net button with an HTML button and point to the next page when it's clicked. Thus you can manage the postback of the page.

    Hope this helps.

    Thanks

     

Children
No Data