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

Conditionally Bound ComboBox and Exceptions

1 Answer 64 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 10 Jan 2012, 02:28 AM
How do I handle this scenario.

I have a "Status" table which assigned StatusIDs to another table.

In my Edit form I have the Status ComboBox filtered to only show a few of those items.  So 10% of my items are items NOT in this list...so when the edit form loads I get a YSOD because the items its trying to Two-way bind with isn't in the combo.

How should I handle this scenario?

1 Answer, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 12 Jan 2012, 02:19 PM
Hi Steve,

Thank you for contacting us.

Could you please isolate the issue in a sample page and send it us? I am not sure I can follow your logic  well, so having a sample with the issue replicated in it, would be very helpful.

Please make sure the database used in your project (or, a sample one), is also included, so running the sample will not have any difficulties.

Thank you in advance for your cooperation.

All the best,
Ivana
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
ComboBox
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Ivana
Telerik team
Share this question
or