When the child controls of Panel control be activated or inactivated, the Panel control 
will always re-draw the child controls, and do not call the child controls&#39;s draw method to generate the DOM element of the control.<br><br>So we can not add some controls with complex UI to the Panel control, such as MapTypeControl.<br>

<br>See the ticket <a href="http://trac.openlayers.org/ticket/2421">#2421</a><br clear="all"><br>Li XinGang<br>EMail: <a href="mailto:slinavlee@gmail.com">slinavlee@gmail.com</a><br>Blog:   <a href="http://avlee.cnblogs.com">avlee.cnblogs.com</a><br>

Site:    <a href="http://www.mapboost.org">www.mapboost.org</a><br>