Thank Brock,
I found a sample that describes a similar technique, where you add a label
control to the cell with a character from the webdings font that represents
an upward or downward arrow (characters 5 and 6 respectively). It seems
that if I add the control in the ItemCreated event, the control is not
preserved between postback, so the header text returns to its default state.
This behaviour is kind of strange to me, but I'm glad it works. =)
Eric
"Brock Allen" <> wrote in message
news: ...
> You could do it another way, such as adding a Image control into the
header
> cell that shows the image. Then if the column isn't the one being sorted
> you don't add the Image control (or remove the control) from the header
cell.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
> > Hello all,
> >
> > Using the .NET framework 1.1, is there a way to do this without too
> > much coding? I've the got the sorting of my custom columns working
> > both ways (if I click on the same column, it reverses the sort
> > direction), but I would like to have an indication of the current sort
> > direction by displaying an upward or downward pointing arrow. I had
> > it working halfway, but I have no way of reverting to the original
> > column name if I just concatenate the header name with a graphic.
> >
> > Is the best way to save the column header captions on the first page
> > load or is there a simpler way?
> >
> > Eric
> >
>
>
>