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

[Solved] ComboBox DataBind() not working inside RadMultiPage

1 Answer 128 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Saed
Top achievements
Rank 1
Saed asked on 15 Aug 2009, 08:29 PM
Hello there,

I have 2 pages: Page1 & Page2 that share similar structure, except for a RadTabStrip+RadMultiPage that wrap the controls in Page2.

Both pages have a number of ComboBoxes that are also identical. The combos are populated through DataBind() to a DataSource DataTable that is retrieved at runtime from database. Everything is OK in Page1. However, when I run Page2 I always receive and Exception: "System.ArgumentOutOfRangeException: Selection out of range, Parameter name: value" , with the line containing DataBind() being highlighted.

As I said, I'm populating the combos identically in both pages, yet, the exception only appears in Page2. Strangely enough, if I walk the datasource rows and define then add combo items, exception disappears; only when I use DataBind() it pops up, and for all the combos of Page2.

Does placing combos inside a RadTabStrip+RadMultiPage has an impact on how they should be populated? Or am I missing something here?

Thanks.

Regards,
Saed

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 20 Aug 2009, 08:40 AM
Hello Saed,

I tried to reproduce the issue but to no avail, please find attached my test page for a reference. What is different in your case? Could you please open a support ticket and send us a simple page demonstrating the issue there? Thanks in advance

Greetings,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
Saed
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or