Hi
I am using Rowedittemplate to edit the row in the template i had created small htmltable which contains main information and in this html table i am using a Update button so how to acess this edited row in aspx.cs file i have to update tis edited values in to database which event i have to use to access this edited row (or) edited row values
Please Help me it is very urgent.......
My first impression is that something may not be set up correctly.
If you're using the grid's AJAX functionality, you shouldn't even need to cause a postback. The UpdateRow event will be raised whenever you change a value in a row, and once the grid loses focus or you change the active row. The UpdateRowBatch event won't occur.
The only thing I can think of that might cause this to occur is if you're calling DataBind() on the grid when you don't need to. Make sure you don't call DataBind() in the InitializeDataSource event of the grid. If you're using a data object like SqlDataSource, you shouldn't need to call DataBind() in most cases at all; otherwise, if you're using a custom list or a DataSet or similar object, you should connect that to your grid in the InitializeDataSource event.
If this doesn't help, then it'll probably take more in-depth research to find out what's going on. If so, then you should submit a support request and include a sample project that we can debug.
Please help me .......
Handle your grid's UpdateRow or UpdateRowBatch event. The "e.Row" property refers to the row that was edited.
Which event you use depends on whether or not you're using the grid's AJAX functionality, and if you want a postback to occur immediately. If you're using the grid's AJAX functionality, use the UpdateRow event. If you're not using AJAX, and you want the grid to cause a postback whenever the editing of a row is completed, use the UpdateRow event. If you're not using AJAX, and you want the grid to store all changes until a postback is triggered by some other control, use the UpdateRowBatch event.