Rank: Member Groups: Member
Joined: 9/1/2010 Posts: 28
|
Well this is interesting...
If I use the combobox control and bind it to a datasource, it works fine.
If I put that combobox control in a panel that is visible and it works fine.
If I put that combobox control in a panel that is visible="false" and it displays no data items. (but the listbox.items collection is loaded with the items)
If I put that combobox control in a panel that is style="visibility:hidden;" and after the load set style="visibility:visible" and it works fine and shows the data in the list.
More info: if I use your MultiPage control it works fine.
FYI
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
What you observed is normal. ListBox.Items can be populated but the control will not be rendered unless its Visible is true.
Putting the control in a MultiPage has the same effect as putting it in a Panel with style="visibility:hidden". The control is still rendered in this case.
Thanks!
|