CGuy,
This might be a little easier.
use the HeaderImageURL property fo the column.
DataGrid1.Columns(0).HeaderImageUrl = "up.gif"
make sure you set the image before calling databind.
Kirk
>-----Original Message-----
>Hi,
>
> I have a datagrid that supports bi-directional
sorting - i would like an
>icon (like an up or down arrow depending on the sort
order) to be displayed
>in the datagrid column headers which changes dynamically
when the column is
>sorted. Any ideas on how to implement this?
>
> If I have to create a Custom clumn for this (which
derives from
>BoundColumn class), how do I proceed with this - how do I
make a column that
>has a text and image?
>
>Any help is greatly appreciated
>
>CGuy
>
>
>.
>
|