Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am creating a Grid View with some base data using edit template fields inside text boxes. for base data I have fixed number of columns. Next I am adding custom columns within text boxes and inserting before base data.

With the button click I am loosing the controls inside the grid view.

I have Save functionality so I can not set enable view state to false and reload everything

How can I save the all the controls and its values inside Grid View in View state and recreate every thing after post back?

Is there any other way to achieve my goal?

Thanks in advance.


Maninder Kumar
Posted
Comments
sahabiswarup 9-Nov-12 4:39am    
do you want to recreate the same thing after the Post back?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900