like so:
GridView1.Attributes.Add("OnRowDataBound", "gridView_OnRowDataBound",);
Don't want to add anything on the aspx page. Appears after some testing that they don't get added.
like so:
GridView1.Attributes.Add("OnRowDataBound", "gridView_OnRowDataBound",);
Don't want to add anything on the aspx page. Appears after some testing that they don't get added.
It isn't an attribute, can you do this: (don't have a gridview to hand)
GridView1.OnRowDataBound += gridView_OnRowDataBound;
(In C#)