ViewState to detect sort order?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a datatable in a datagrid and am trying to see if a column is sorted
in ascending or descending order. I've been messing around with dataview,
but haven't been able to find a way yet. Is there anything like viewstate
that I can use? If not, what's the best way to go about this?
Thanks!
Mel
 
For sure you can use viewstate. For those kind of problems, it is the best
(I think).
Just put active sort order in one viewstate variable and column name that
the sort is made on into another viewstate variable.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top