Gridview templatefield not updating
aspdotnet-suresh offers C#articles and tutorials,csharp dot net,articles and tutorials, VB.
Its been 15 months since a significant update was released for the AJAX Control Toolkit on Code Plex.
If your Page Size is 10 and you've edited the first record on the second page, Data Item Index returns 10 while Display Index returns 0, and since each page only has index values of 0-9, you get an index out of bounds error if you use the Data Item Index to find a Data Key value to use in your update code.
May be you may think why am I using link buttons as we are provided with some command field buttons by Grid View.
The As, you can see the save Row Index function calls the web service “Simple Service” which calls the Note Changed Rows method.
The Note Changed Rows method is responsible for adding the row index to the Session object.
Matt took the road to update all the rows whether they were changed or not.
In this article we are going to take a look at an alternative method of updating only the changed rows.
If he clicks edit (or) in the edit mode he can be able to see the Textbox.