views:

15

answers:

1

Hi,

I have to do a sorting on headers of the gridview.

i have set the sorting property to true and also implemented the onsorting event.

But my headers are not coming up as links,what could be the reason?

+1  A: 

Maybe your columns content is not sortable, for instance you have images. For that as a trick you can associate each image an index and bound the grid column to the index, rather than image.

MadalinaA
Hey thanks madalina,things are working :)