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
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