Helo,
I'm using RadGrid and i need to use dropdownlist instead of the filter function.
Is there any way to insert an row into the grid wich contains dropdownlists instead of the filter? The dorpdownlists should contain the values which are in the column.
thanks
Christian
I'm using RadGrid and i need to use dropdownlist instead of the filter function.
Is there any way to insert an row into the grid wich contains dropdownlists instead of the filter? The dorpdownlists should contain the values which are in the column.
thanks
Christian
4 Answers, 1 is accepted
0
![](/forums/images/avatarimages/4fdd2ccd-e7c9-4bf9-b19f-96bcfcf0bd7btelerik.jpg)
Princy
Top achievements
Rank 2
answered on 09 Mar 2009, 08:42 AM
Hi,
You can use the filter template to add a dropdownlist to filter the grid instead of the normal textboxes . Check out the link below to know more on this:
http://www.telerik.com/help/aspnet-ajax/radgrid-filter-template.html
You can also refer the link below (which is another way of doing it)
http://www.telerik.com/help/aspnet/grid/grdfilteringwithdropdownlist.html
Thanks,
Princy
You can use the filter template to add a dropdownlist to filter the grid instead of the normal textboxes . Check out the link below to know more on this:
http://www.telerik.com/help/aspnet-ajax/radgrid-filter-template.html
You can also refer the link below (which is another way of doing it)
http://www.telerik.com/help/aspnet/grid/grdfilteringwithdropdownlist.html
Thanks,
Princy
0
![](/forums/images/avatarimages/default.gif)
Christian
Top achievements
Rank 1
answered on 16 Mar 2009, 11:41 AM
Thanks, the second link was what I needed and it works fine.
I have now a second question:
I need to have in my dropdownlist a Value "show all items". How can I bind this function (clear filter) in the event list_SelectedIndexChanged?
thanks
Christian
I have now a second question:
I need to have in my dropdownlist a Value "show all items". How can I bind this function (clear filter) in the event list_SelectedIndexChanged?
thanks
Christian
0
Accepted
Hello Christian,
To see how this can be done review the implementation from the following online demos of the product:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Best,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
To see how this can be done review the implementation from the following online demos of the product:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx
Best,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
![](/forums/images/avatarimages/default.gif)
Christian
Top achievements
Rank 1
answered on 16 Mar 2009, 12:40 PM
Thanks,
now it works, I used:
now it works, I used:
filterItem.FireCommandEvent("Filter", New Pair()) |