Here's my following code:
It sorts properly and highlights the selected sorting column. I know that to do multiple sorting in a single template column you just add another link button with the new field to be sorted like similar to what this is doing here: http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultvb.aspx?#qsf-demo-source .The issue i see from that demo and my page is that it no longer highlights the sorted column if i add another link button in the header template. My question is how do i set it that it highlights if i select either sorting button?
<telerik:GridTemplateColumn UniqueName="UserName" DataField="FirstName" DataType="System.String" AllowFiltering="false" SortExpression="FirstName"> <HeaderTemplate> <asp:LinkButton id="btnName" runat="server" Text="Name" Title="Sort by Name" CommandName='Sort' CommandArgument='FirstName' /> </HeaderTemplate> <ItemTemplate> <span class="ListTitle" style="font-size: 14px;"> <%#Container.DataItem("FirstName")%> <%#Container.DataItem("LastName")%></span><br /> <div class="QuestionDetails"> <strong><%#Container.DataItem("EmailAddress")%></strong> </div> </ItemTemplate> </telerik:GridTemplateColumn>It sorts properly and highlights the selected sorting column. I know that to do multiple sorting in a single template column you just add another link button with the new field to be sorted like similar to what this is doing here: http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultvb.aspx?#qsf-demo-source .The issue i see from that demo and my page is that it no longer highlights the sorted column if i add another link button in the header template. My question is how do i set it that it highlights if i select either sorting button?
