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

Filter a combobox based on other combo in Gridview

1 Answer 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sajid
Top achievements
Rank 1
Sajid asked on 30 Mar 2012, 01:10 PM
Hi Team,
    I have two combo boxes in Gridview such that Combobox (combColumnName) is dependent on second comboBox (comboTableName). If I select an item from comboTableName, then comboColumnName item should be filter according to tableCode (where table code is relation between table name and column name).
Can you please provide sample project, in which both combos reside in gridview, one comboBox is dependent on Parent comboBox.
Definitely If no item is selected in parent Combobox, then dependent comboBox items source will be null.

Regards,
 Kamran

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 30 Mar 2012, 01:27 PM
Hi Kamran,

 I would recommend you to use an ItemSourceBinding for the second column. Please check this blog post for a further reference. 

Regards,
Didie
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Sajid
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or