G
Guest
I am dynamically creating my datagrid, building each column in real-time via
code-behind (using c#).
The only way i have read to add ImageButtons to my grid dynamically is by
creating a separate template class. However, a class cannot create server
controls (or at least this is beyond me).
I am able to create HTML <INPUT> form elements, however, these are not wired
to my datagrid and hence, when clicked do not fire the datagrid's events
including ItemCommand.
Is there anyway to add imageButtons as web server controls to the datagrid
dynamically?
Thanks,
code-behind (using c#).
The only way i have read to add ImageButtons to my grid dynamically is by
creating a separate template class. However, a class cannot create server
controls (or at least this is beyond me).
I am able to create HTML <INPUT> form elements, however, these are not wired
to my datagrid and hence, when clicked do not fire the datagrid's events
including ItemCommand.
Is there anyway to add imageButtons as web server controls to the datagrid
dynamically?
Thanks,