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

Filtering using FilterTemplate with GridBoundColumn and columns should be dynemic

1 Answer 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nisha
Top achievements
Rank 1
Nisha asked on 06 Jul 2012, 11:10 AM
hello,

I am using the red grid control. i am new one to use red grid to display the search result. now my requirements are columns should be dynamic (auotgenerated = true) and also apply the features like sorting,paging,and filtering. filter should be like filter template.
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx
i have google for this buy almost solutions like apply filtertemplate in aspx page.
but i want to add the filter template to the some selected columns and i have to add it from .cs page i mean using code.
if any one  know about this then plz help me
its urgent for me so guide me how to do......

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 11 Jul 2012, 09:47 AM
Hello,

Thank you for contacting us.

Defining FilterTemplate for columns in RadGrid uses the same approach as to create template columns. You need to define class that implements the ITemplate interface and in the InstantiateIn method to define the templated controls.

More information on this approach could be found in the last section of this help topic. Give this approach a try and let me know if you need further assistance.

Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Nisha
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or