Hi, I have a page that uses asp.net Table (<asp:Table>) to display data. In code it loops through dataset and creates the table. It also appends JS attributes while it does it.
I need to use DataGrid instead now. Creating Datatable instead of generating table is not hard, but we cant add attributes to DataRow's and DataCell's, liek we do for TableCell. And there is a complicated logic for attributes, which is why it makes it hard to move it all to onItemBound event.
Is there any way I can still use Table and somehow bind it, with all its attributes to the DataGrid? Maybe create a class out of table?
Thansk for any help
I need to use DataGrid instead now. Creating Datatable instead of generating table is not hard, but we cant add attributes to DataRow's and DataCell's, liek we do for TableCell. And there is a complicated logic for attributes, which is why it makes it hard to move it all to onItemBound event.
Is there any way I can still use Table and somehow bind it, with all its attributes to the DataGrid? Maybe create a class out of table?
Thansk for any help