views:

10

answers:

0

I have a gridview that is bound to a datatable. Based on the value in a cell in a column, a linkbutton is added to the cell in RowDataBound. On the first load, everything works find but after postback the control is now gone. Why wouldn't the control itself be saved in the GridView Viewstate?

I'm using VB.NET