User Control not loading when container panel is invisible
I have a usercon开发者_JS百科trol which has a combobox inside it.
This UserControl is the inside an asp panel - and when the panel is visible, the dropdownlist within the control binds to its datasource and behaves itself.
When the panel visibility is set to false, the dropdownlist within the usercontrol is empty.
Any help appreciated.
thanks.
Setting the Visible property of the panel to false means that none of its controls are rendered. If you want it to be rendered but invisible on your page, use the CSS style display:none;
on the panel.
精彩评论