Hi,
I have a datagrid that contains 3 colums. This is rendered to the page fine,
except that I would like to be able to control the width of each table cell
of the datagrid
I have the following code in the "ItemDataBo und" -- which I belive should
allow me to alter the width of the cells, however it does not work.
Dim unitWidth As Unit
unitWidth.Perce ntage(10)
e.Item.Cells(0) .Width = unitWidth
unitWidth.Perce ntage(80)
e.Item.Cells(1) .Width = unitWidth
unitWidth.Perce ntage(10)
e.Item.Cells(2) .Width = unitWidth
Response.Write( "dgSurveyDates_ ItemDataBound<b r>")
After this I tried placing the width attribute into the HTML of the
datagrid, however that gave a runtime error.
can anybody explain how to do this please.. I would also like to add client
side events such as "onmouseove r" to the <tr> tag of each row, but I can't
seem to be able to do this either..
any help or advice would be appreciated.
thanks in advance.
martin.