Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Ajax Combobox not handling display:none correctly

$
0
0

I have an Ajax ComboBox in an asp:panel.  The panel has a CssClass="hide" assigned which includes "display:none".  

The user can click on another element that fires a JavaScript function which sets the panel's CssClass="show" which includes "width:100%".  This causes all controls in the panel to displayexcept the arrow image on the ComboBox

IF I set the panel to start life with CssClass="show" everything displays correctly.  I can then use that function to change it to CssClass="hide" then back to CssClass="show" and everything still looks correct!

Thoughts/Suggestions?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>