V
VK
Hello,
I have created a datalist control which I derived from
the datalist control. Now I also implemented sorting for
this datalist. In my webform when the user clicks the
header, then I simply store the SortExpression in the
viewstate and do the sorting then. Now I would like to
have some kind of indication for the sorting, so that the
user can see which column is sorted and in which
direction. I would like to do that in the component. I
thought that the best event for that would be
ItemDataBound. I am trying to access the SortExpression
from the ViewState there, but it is always empty. I also
tried ItemCreated , but no success.
Can anybody help?
Thanks
I have created a datalist control which I derived from
the datalist control. Now I also implemented sorting for
this datalist. In my webform when the user clicks the
header, then I simply store the SortExpression in the
viewstate and do the sorting then. Now I would like to
have some kind of indication for the sorting, so that the
user can see which column is sorted and in which
direction. I would like to do that in the component. I
thought that the best event for that would be
ItemDataBound. I am trying to access the SortExpression
from the ViewState there, but it is always empty. I also
tried ItemCreated , but no success.
Can anybody help?
Thanks