Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: ComboBox does not layout correctly if initially hidden [27017]

$
0
0
Put the ComboBox in a <div style='display:none;'>. After the page loads, run some javascript that changes the display style to "block". Now the COmboBox is visible, but the dropdownbutton is very small. Attempt to pop up the list. It appears as a very small underline.
I have a blog post with pictures, details, and a workaround that is truly a hack:
http://weblogs.asp.net/peterblum/archive/2011/09/14/fixing-combobox-from-ajax-control-toolkit.aspx
Recommendation: Provide a Recalculate() client-side method that we can call when our javascript makes it visible.

Please also see this post which becomes relevant once you fix the visibility problem:
http://weblogs.asp.net/peterblum/archive/2011/09/16/more-with-ajax-control-toolkit-s-combobox-and-modalpopupextender.aspx
and the issue raised with the ModalPopupExtender in the first post.
Comments: I'm having the same issue using a combobox inside of a CollapsiblePanelExtender with Collapsed="true". The combobox works until you postback with the panal collasped then no button or dropdown list on combobox. Is there any official bug fix yet? I tried your bug fix but couldn't get it working. Causes an error. It seems to be using an old version than the latest release.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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