Welcome to weblogs.com.pk Sign in | Join | Help

Dynamically adding rows to the gridview

I was trying to add rows in the gridview , having templated columns, on a button click. I was trying to this using javascript.

 I managed to add the rows but the problem i was getting that i was unable to access rows at server. This was due to the fact that gridview loads the rows from viewstate during loadviewstate() method.

After, spending a few hours, i decided to use a postback with keeping the table in session state. I added rows to that table on efach post back 

Published Friday, March 23, 2007 11:03 AM by Shahzad
Filed under: , ,


No Comments

Anonymous comments are disabled