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

How to add textboxes and buttons to allow quick filtering of the content of the column in comboBox.

1 Answer 48 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ravi Singh
Top achievements
Rank 1
Ravi Singh asked on 18 May 2010, 07:33 AM


Hi All,
<telerik:RadComboBox ID="RadComboBoxProduct" runat="server" Height="200px" Width="200px"
                            DropDownWidth="298px" EmptyMessage="Choose a Product" HighlightTemplatedItems="true"
                            EnableLoadOnDemand="true" OnItemsRequested="RadComboBoxProduct_ItemsRequested">
                            <HeaderTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 177px;">
                                            Product Name</td>
                                        <td style="width: 60px;">
                                            Quantity</td>
                                        <td style="width: 40px;">
                                            Price</td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 177px;">
                                            <%# DataBinder.Eval(Container, "Text")%>
                                        </td>
                                        <td style="width: 60px;">
                                            <%# DataBinder.Eval(Container, "Attributes['UnitsInStock']")%>
                                        </td>
                                        <td style="width: 40px;">
                                            <%# DataBinder.Eval(Container, "Attributes['UnitPrice']")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:RadComboBox>

This is the RadComboBox using header and item templates. Can I add textboxes and buttons to allow quick filtering of the content of the column.upon clicking the “apply filter” button, , this would likely involve an AJAX call to refresh the bound context table for the dropdown. It should look similar to the filters on the grid.

 

Regards

Ravi

mcamail2002@gmail.com

www.yourtechniche.com

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 20 May 2010, 05:06 PM
Hello Ravi Singh,

What you mean by quick filtering of a column? Can you please explain in more detail your requirement?

Best wishes,
Simon
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.
Tags
ComboBox
Asked by
Ravi Singh
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or