Multiple sortable headers(linkbuttons) per column?

T

tonicvodka

Hi all and Good Morning!

I've constructed a datagrid with two template columns, each
retrieving data from several database fields. Still I want to be able
to sort on each of these several database fields, is this possible?

I tried setting sortexpression in the link button like:

<asp:LinkButton id="lnkDate" CommandName="sort" SortExpression="Date"
runat="server">Date</asp:LinkButton>

But as expected, SortExpression isn't passed along.

Any help greatly appreciated,
Niclas
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top