weird Ajax ComboBox drop down list

我怕爱的太早我们不能终老 提交于 2019-12-30 10:44:34

问题


I've got combobox inside some panel :

<ajaxToolkit:ComboBox 
    ID="YearList" 
    runat="server" 
    OnInit="YearList_Init1" 
    EnableTheming="false" 
    Width="45px"
    ViewStateMode="Disabled" />

and it was OK before I updated project to .NET 4 , after updating project (And AJAX) to .net4 it's looking like really strange ... I can't explain it proper , I will show :

how can I fix it ? :) Full CSS / ASPX page here -> https://github.com/nCdy/Issues/tree/master/Ajax%20ComboBox (string # 287)


回答1:


I had a similar issue and could resolve mine by removing the extender that I had added to the Panel containing the combobox. I had used a DropShadowExtender for the Panel, removing it caused the combobox to be displayed perfectly. Perhaps you can try that as well.




回答2:


i am seeing a lot of texts like

&#1050;&#1086;&#1085;&#1090;&#1088;&#1072;&#1082;&#1090;&#1085;&#1099;&#1081; &#1095;&#1072;&#1089;
                                    :&nbsp;

, every where in your form. So i need to know, are you using some sort of encoding , that is, is this placed by you or came unexpectedly. If you havent placed it, remove all unneccessary such lines and use plain text instead (if required). Then check the layout.

Also in your image, i can see , ur language is russian(if i am right :)). So try using your localized font that is direcly supported by aspx as we use english or better use resource file instead of the hardcoded text on the page. As per my view the language conversion is creating such issue.



来源:https://stackoverflow.com/questions/5485153/weird-ajax-combobox-drop-down-list

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!