Configuration; public partial class _Default1 : System. Actually last night I spent many hours on this issue . Page //default1Dear Karthicks Thank you very much for pointing it out.. A row is suppose to be not showing in the grid whenever user update a record.The Show All Classes() method is suppose to fetch records from sql db excluding recently updated row. Localhost: As I click on the button it hides the row (means binding is done again). (as required) On deployed application: Upon user click the row doesn't hide and user is able to click many times on the button (as if function is not working). If for any reason you can't figure it out let me know and I will help understand my design approach.
Once I checked Is Post Back in Row Updating event.. This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.To cancel the update operation, set the collections, if necessary, before the values are passed to the data source.