Welcome Guest Search | Active Topics | Sign In | Register

combo box databind issue Options
Jim Nelson
Posted: Sunday, July 14, 2013 4:58:59 PM
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
eo_support
Posted: Monday, July 15, 2013 12:28:16 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.