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

Filter in template columns

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Alan asked on 13 Oct 2010, 05:43 PM
We have the following scenario where we can not provide a DataField because the item template is binded during ItemDataBound.

            <telerik:GridTemplateColumn HeaderText="Action"  AllowFiltering="false" UniqueName="Action" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="10%" >
                    <TLMASP:Label ID="TransactionActionLabel" runat="server" ></TLMASP:Label>

How can we provide search functionality ?
We have an object like: 
 int id;
 Object MyObject;

TransactionActionLabel.Text is filled by = Cache.Get((ITransactionCapable)item.dataitem.MyObject).TransactionAction;

Should we change the way we bind the data to our grid? should we provide something like a Bindable object full of all the properties already? So the grid will interact with just a collection of these simple objects?


1 Answer, 1 is accepted

Sort by
Iana Tsolova
Telerik team
answered on 19 Oct 2010, 08:49 AM
Hello Alan,

You can try defing your own FilterTemplate for the problematic column and then handle the filtering manually. Find the below resources for more information:

Best wishes,
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question