Insert a control inside a datagrid cell?
-
Hello, I would like to insert a Webserver control inside a cell in a datagrid. My datagrid is bound to a IList and the columns are generated automatically. Anyone who knows how to do this? Rickard
Turn the column into a template column inside the property builder. Afterwarda, right click on the grid then edit your template column. You can put what ever controls you would like inside the template. You can then bind them using property list or directly through html. Michael I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. Vince Lombardi (1913-1970)
-
Hello, I would like to insert a Webserver control inside a cell in a datagrid. My datagrid is bound to a IList and the columns are generated automatically. Anyone who knows how to do this? Rickard
You can override the databind and/or itemcreated events and add/remove/modify controls as needed.