Changes to make the code in the Add a new row ro the GridView ... post work.
Posted by: Fredrik Norméns Blog,
on 10 Aug 2005 |
View original | Bookmarked: 0 time(s)
I don’t know if all of you find the post ”Add a new row to the GridView control dynamically when a row is selected.” Interesting, but since I wrote it, there has been some changes so the code example in the post will not work. So I decide to mention some of the changes to make it work.
First of all there is a problem of using the DataBound event. If we use the DataBound event to add a new row to the GridView, it will not appear until the next time a postback is performed....