This is a migrated thread and some comments may be shown as answers.

Filter on a GridButtonColumn

7 Answers 167 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 09 Jan 2009, 02:38 PM
I want to have the filtering enabled on a GridButtonColumn...filtering based on the text of the LinkButton...is that do able?

7 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 10 Jan 2009, 02:14 PM
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.
0
Shinu
Top achievements
Rank 2
answered on 12 Jan 2009, 10:18 AM
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.
0
Yavor
Telerik team
answered on 12 Jan 2009, 10:39 AM
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.
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 12 Jan 2009, 01:33 PM
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
0
Yavor
Telerik team
answered on 12 Jan 2009, 01:46 PM
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.
0
Accepted
Yavor
Telerik team
answered on 12 Jan 2009, 02:31 PM
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.
0
mkasuboski
Top achievements
Rank 1
answered on 13 Jan 2009, 09:07 PM
I had a question, but after posting it, I resolved it.
Tags
Grid
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Daniel
Telerik team
Shinu
Top achievements
Rank 2
Yavor
Telerik team
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
mkasuboski
Top achievements
Rank 1
Share this question
or