Filter the results based on the text value of LinkButton

2 posts, 0 answers
  1. Gary
    Gary avatar
    2 posts
    Member since:
    Oct 2013

    Posted 28 Oct 2013 Link to this post

    <telerik:GridTemplateColumn HeaderText="Code" SortExpression="Code" UniqueName="Code" AllowFiltering="True">
         <ItemTemplate>
             <asp:LinkButton ID="lbCCode" runat="server" Text='<%# Eval("Code") %>' />
         </ItemTemplate>
    </telerik:GridTemplateColumn>
    So how can I allow RadGrid to filter the results based on the text value of LinkButton? Is there a way to do that? Thanks.
  2. Gary
    Gary avatar
    2 posts
    Member since:
    Oct 2013

    Posted 28 Oct 2013 Link to this post

    Well, I think I found a quick tutorial on how to do this with RadGrid. I will need to use DataField attribute in this case.

    http://www.telerik.com/help/aspnet-ajax/grid-implementing-filtering-for-gridtemplatecolumns.html


Back to Top