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

RadGrid Insert Row With dependent Drop Down Lists

1 Answer 157 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Panos
Top achievements
Rank 1
Panos asked on 21 Dec 2012, 08:23 AM
Hi i  have a raddrig and it has 3 collumns
1.Descr
2.CategoryId (List id,Descr)
3.ModelId. (List id ,Descr)
I want to add a new row but when i select CategoryId from the select list i want to update the modelid,descr on the second
so as to bring the modelids for this category.Is this possible
I have teleriks  ver 2010. secons quorter
Thanks a lot.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 25 Dec 2012, 09:50 AM
Hi Panos,
 
You can use related comboboxes:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx

You could also enable the CheckBoxes of the generated combo box:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx
and use the update/insert command server events to loop through the selected values in Edit mode:
( Section Accessing controls in edit/insert mode )
http://www.telerik.com/help/aspnet-ajax/grid-accessing-cells-and-rows.html

You could use a Edit Form Template to achieve the requested functionality:
Grid / Form Template Edit Form

I hope this will prove helpful.

Greetings,
Eyup
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
Panos
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or