Ajax combobox dropdown

I have a combobox inside some kind of panel:

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

and that was fine before I upgraded the project to .NET 4, after upgrading the project (and AJAX) to .net4 it looks really weird ... I can’t explain it, I will show: enter image description here

how can I fix this? :) The full CSS / ASPX page is here β†’ https://github.com/nCdy/Issues/tree/master/Ajax%20ComboBox (line # 287)

+4
source share
2 answers

I had a similar problem and I could solve the problem by removing the extra extender that I added to the panel containing the combobox. I used DropShadowExtender for Panel, and removing it caused an excellent combobox display. Perhaps you can also try this.

+2
source

I see a lot of texts like

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

anywhere in your form. Therefore, I need to know if you are using some kind of encoding, that is, it was placed by you or appeared unexpectedly. If you did not post it, delete all unnecessary lines and use plain text instead (if necessary). Then check the layout.

Also in your image, I see ur language is Russian (if I'm right :)). So try using your localized font, which is directly supported by aspx, since we use English or better use a resource file instead of the hard-coded text on the page. In my opinion, language translation creates such a problem.

+2
source

Source: https://habr.com/ru/post/1345863/


All Articles