Charles Baldo
asked on
Gridview redisplays hidden columns afer postback
I am using a .net gridview in a web form that has some columns hidden
The gridview has AutoGeneratColumns=false. Everything displays fine. The cells are made invisible on the RowDataBound event. When I save a record to the database in a table not in the gridview the grid redraws and my columns that were invisible are suddenly visible.
I can not find an event that is firing that would do that, I have set all the ONROWxxx Events on and put a debug statement at each one but do not see which is firing so that I can re-invisble the columns.
Thank you
The gridview has AutoGeneratColumns=false. Everything displays fine. The cells are made invisible on the RowDataBound event. When I save a record to the database in a table not in the gridview the grid redraws and my columns that were invisible are suddenly visible.
I can not find an event that is firing that would do that, I have set all the ONROWxxx Events on and put a debug statement at each one but do not see which is firing so that I can re-invisble the columns.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER