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

Using Combo Boxes in Web User Control Edit Form

2 Answers 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
martin
Top achievements
Rank 2
martin asked on 07 Nov 2008, 10:53 AM
hi All

Does anyone have an example of using combo boxes within a Web user control edit form?

The scenario that I've got is I need to display two combo boxes on my edit form. When the user selects the a value from the first dropdown list I need to re-populate the second dropdown with items that are related to the first drop down. I have forced the first dropdown to postback and have put some code in the selectedindexed changed event, but the grid seems to post back and I lose the original value that I selected in the first drop down.

If anyone has an example of how to accomplish this it would be appreciated.

Thanks

Martin.

2 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 10 Nov 2008, 02:55 PM
Hello martin,

I prepared a sample project for your. Please try it on your end and let me know if it works as desired and if I missed something from your logic.

Additionally, you can review the following articles for more information about RadGrid edit forms:
http://www.telerik.com/help/aspnet-ajax/grdcustomeditforms.html
http://www.telerik.com/help/aspnet-ajax/grdoperationswithdropdownlistinedititemtemplate.html

Regards,
Iana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
martin
Top achievements
Rank 2
answered on 11 Nov 2008, 11:52 AM
Thanks for this. It was just what I was looking for.

Martin.
Tags
Grid
Asked by
martin
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
martin
Top achievements
Rank 2
Share this question
or