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
updaterow Batch Event
posted

Hi,

I have a asp.net page where i am updating datagrid. I am using updaterow batch event to show the record. I wan to call this event only when use click save button. How can we do this..

Currently if i am clicking nay button updatebatch row event is fired.

 

Thanks....

 

 

  • 4555
    posted

    Hi Viki,

    You can use a hidden field. Assign the filed values when the buttons are clicked.  In the UpdateBatch event check the value of the hidden field and decide to cancel the event or not using the e.cancel property.

    Magued