Cause GridView to be sorted from DropDownList

D

DBLWizard

Howdy All,

I have a GridView control on a page and I want to give the user the
ability to sort using the colums or using a dropdown. Is there an
easy way to tell the grid to sort based on a column? Or do I have to
manually sort the datasource and rebind it to the grid?

Thanks

dbl
 
D

DBLWizard

Teemu,

My situation is that the grid has sorting turned on and sorting works
fine. But my client also wants to be able to sort from a drop down.
I was hoping that there was some event on the grid that I could call
and pass the column that sorting is wanted on.

What you are saying is that I will have to manually sort the
datasource and then rebind?
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top