Hello,
I'm creating the whole page dynamically in code-behind. There is a bunch of subsequent dynamic pages containing ComboBoxes. The problem is this: the RadComboBox Items get propagated/copied to subsequent ComboBox Items for unknown reason and overwrite the items that should actually be there.
Example:
a page1 contains a new RadComboBox() with dynamically added Items "A" and "B".
a page2 contains a new RadComboBox() with dynamically added Items "X", "Y" and "Z".
User visits page1, then goes to page2.
The page2's combo box is rendered with items "A", "B" and "Z" instead of proper "X", "Y", "Z".
The combo boxes do have different IDs, the Items do have different texts and values. The container (Panel) of the combo box has a different ID. There is no reason I could think of why the rendering is so messed.
When tracing the code with a debugger one can see it does the RIGHT THING, i.e. adds the right items (X, Y, Z) yet the resulting rendered page contains DIFFERENT items (old A, B from previous combo box with added third new item).
I am using the latest Q1 2010 Telerik Ajax but colleagues are seeing this problem with older releases as well (Q2 2009).
I have no idea how to debug this as it happens inside the Telerik toolkit... Please help, this is so frustrating.
I'm creating the whole page dynamically in code-behind. There is a bunch of subsequent dynamic pages containing ComboBoxes. The problem is this: the RadComboBox Items get propagated/copied to subsequent ComboBox Items for unknown reason and overwrite the items that should actually be there.
Example:
a page1 contains a new RadComboBox() with dynamically added Items "A" and "B".
a page2 contains a new RadComboBox() with dynamically added Items "X", "Y" and "Z".
User visits page1, then goes to page2.
The page2's combo box is rendered with items "A", "B" and "Z" instead of proper "X", "Y", "Z".
The combo boxes do have different IDs, the Items do have different texts and values. The container (Panel) of the combo box has a different ID. There is no reason I could think of why the rendering is so messed.
When tracing the code with a debugger one can see it does the RIGHT THING, i.e. adds the right items (X, Y, Z) yet the resulting rendered page contains DIFFERENT items (old A, B from previous combo box with added third new item).
I am using the latest Q1 2010 Telerik Ajax but colleagues are seeing this problem with older releases as well (Q2 2009).
I have no idea how to debug this as it happens inside the Telerik toolkit... Please help, this is so frustrating.