R
ree321
I tried moving an ASP.net project form 1.1 to 2.0.
But I am having problems with getting the OnItemDataBound function to
run for a datagrid, in 2.0.
It only gets called up if AutoGenerateColumns is set to false.
Is there anyway around this?
Then I tried changing the datagrid to GridView and still I am having
trouble getting the function to run in code behind using:
Sub databoundGeneral(ByVal s As Object, ByVal e As
GridViewRowEventArgs) Handles gridGeneral.RowDataBound
Also trying this using AutogenerateColumns set to True.
But I am having problems with getting the OnItemDataBound function to
run for a datagrid, in 2.0.
It only gets called up if AutoGenerateColumns is set to false.
Is there anyway around this?
Then I tried changing the datagrid to GridView and still I am having
trouble getting the function to run in code behind using:
Sub databoundGeneral(ByVal s As Object, ByVal e As
GridViewRowEventArgs) Handles gridGeneral.RowDataBound
Also trying this using AutogenerateColumns set to True.