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

Filtering Dropdown list in RadGrid

4 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Meera
Top achievements
Rank 1
Meera asked on 26 Jun 2012, 05:22 AM
Hi,

I have a RadGrid with three levels. There is one DropDownList in the second level and another one in the third level. The combo in the third level has to be filtered based on the selection in the combo of second level. I tried a few methods but didn't help. I am using SQlDataSource to fill both these combos and having trouble setting the select parameter of the third level combo dynamically

Could you please help?

Thanks
Meera

4 Answers, 1 is accepted

Sort by
0
Meera
Top achievements
Rank 1
answered on 27 Jun 2012, 10:51 AM
Any ideas on this issue would be of great help

Thanks
Meera
0
Tsvetoslav
Telerik team
answered on 28 Jun 2012, 09:01 AM
Hello Meera,

You can attach an event handle to the OnSelecting event of the data source control which the second combo is attached to and there assign the corresponding value to the select parameter.

Hope it helps.

Greetings,
Tsvetoslav
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.
0
Meera
Top achievements
Rank 1
answered on 28 Jun 2012, 11:23 AM
Hi Tsvetoslav,
 
Thanks for reponding

I have two doubts. As per your suggestion I need to pass the corresponding value to the select parameter. My problem is to get this corresponding value which is the selected value of the combo in the first level within the OnSelecting event in the second level. The second doubt is how to trigger the OnSelecting event of the second level combo when the value in the first level combo is changed

Thanks
Meera
0
Tsvetoslav
Telerik team
answered on 02 Jul 2012, 08:28 AM
Hi Meera,

I had in mind the OnSelecting event of the data-source control - it is triggered automatically when the page is data-binding its controls tree. Anyway, please, open up a formal support ticket and send you files so that we get a better idea of what you are trying to achieve and how exactly you have approached the scenario.

Regards,
Tsvetoslav
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
Meera
Top achievements
Rank 1
Answers by
Meera
Top achievements
Rank 1
Tsvetoslav
Telerik team
Share this question
or