Hello!
In ItemDataBound event I have:
How can I now enable sorting?
In ItemDataBound event I have:
Dim
header
As
GridHeaderItem =
DirectCast
(e.Item, GridHeaderItem)
' to set the height of the Grid Header
header.Height = Unit.Pixel(20)
' to add an Image in the Grid Header
Dim
img
As
New
ImageButton()
img.ID =
"imgCit"
img.ImageUrl =
"~/images/cit.png"
header(
"cit_count"
).Controls.Add(img)
End
If
How can I now enable sorting?