J
Justin Dutoit
Hey. I've posted this a couple times but I thought I'd try again.
I want to extend the Datagrid, for example, to add a title bar before the
column headers. This means leaving it to render the table tag, rendering my
row, then letting it render the remainder of the grid. I'm very concerned
that I don't mess around with the Datagrid's 'plumbing'.
For example, when you have a Template column with an asp:Label, you can
refer to it on postback using
MyGrid.Items(i).FindControl(id)
Now this is implemented by rendering a span with an id that looks like
_ctl_something. I think it is different for different browsers.
My question is, how do I avoid touching this plumbing and still extend the
Datagrid, ie what should Render() look like?
I'm looking for someone with experience in DataGrid control creation.
Thanks
Justin Dutoit
I want to extend the Datagrid, for example, to add a title bar before the
column headers. This means leaving it to render the table tag, rendering my
row, then letting it render the remainder of the grid. I'm very concerned
that I don't mess around with the Datagrid's 'plumbing'.
For example, when you have a Template column with an asp:Label, you can
refer to it on postback using
MyGrid.Items(i).FindControl(id)
Now this is implemented by rendering a span with an id that looks like
_ctl_something. I think it is different for different browsers.
My question is, how do I avoid touching this plumbing and still extend the
Datagrid, ie what should Render() look like?
I'm looking for someone with experience in DataGrid control creation.
Thanks
Justin Dutoit