Filter on a GridButtonColumn

8 posts, 1 answers
  1. Steve
    Steve avatar
    1885 posts
    Member since:
    Dec 2008

    Posted 09 Jan 2009 Link to this post

    I want to have the filtering enabled on a GridButtonColumn...filtering based on the text of the LinkButton...is that do able?
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 10 Jan 2009 Link to this post

    Hello Steve,

    I suggest you use TemplateColumn instead.
    <telerik:GridTemplateColumn DataField="CategoryName" UniqueName="MyTemplateColumn" 
        HeaderText="Template"
        <ItemTemplate> 
            <asp:LinkButton ID="LinkButton1" runat="server" Text='<%# Bind("CategoryName") %>' /> 
        </ItemTemplate> 
    </telerik:GridTemplateColumn> 

    Let us know whether this approach suits your scenario.

    Best regards,
    Daniel
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Jan 2009 Link to this post

    Hi Steve,

    You can refer the following code library submission which explains how to implement Filtering and Sorting with GridButtonColumn.
    Filtering and sorting for GridButtonColumn

    Regards
    Shinu.
  4. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 12 Jan 2009 Link to this post

    Hello Steve,

    Another option is to use the new feature of the control, allowing for a filter template.
    I hope this helps.

    Kind regards,
    Yavor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Steve
    Steve avatar
    1885 posts
    Member since:
    Dec 2008

    Posted 12 Jan 2009 Link to this post

    Quick Q, how do I tell if I have the SP2 version?

    I don't see the filter template in the help file that comes with the install
  6. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 12 Jan 2009 Link to this post

    Hello Steve,

    You can download the latest version of the controls from your account, to take advantage of the filter template.

    Kind regards,
    Yavor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Answer
    Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 12 Jan 2009 Link to this post

    Hi Steve,

    As a quick follow-up on the previous e-mail, I wanted to add that the feature is available in the latest internal build, which is accessible from your account, as demonstrated in the screenshot attached to this message.
    I hope this helps.

    Kind regards,
    Yavor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. mkasuboski
    mkasuboski avatar
    17 posts
    Member since:
    Jul 2008

    Posted 13 Jan 2009 Link to this post

    I had a question, but after posting it, I resolved it.
Back to Top