Click here to Skip to main content
15,942,847 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Can anybody put some light on how to obtain the ID value and data for Dynamically created template column in a GridView control using C#. As of now the dynamically created template column can not be traced, once a post back event is fired.

Thanks in advance.

Updated 30-Sep-10 0:30am
Sunasara Imdadhusen 30-Sep-10 8:27am    
Would you like to get the detail of dynamically created template on client side?

1 solution

If u r creating dynamic Template fields..

u must recreate it in post back before using it in ur code...

u can set the attibute ID of Template fields on creation...

If u want to more know more theory....
go for this link[^]
Share this answer

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