Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 01, 2011 10:21 AM by Hav0c
Mar 29, 2010 08:43 AM|LINK
I have a very frustrating problem with the AJAX combo box. I have a few controls: asp textbox, dev-express ASPxDateEdit and a AJAX Combobox arranged in an HTML table for use on a ASP content form as filters for data display.
For some reason I cannot get the combobox to align horizontally with the other controls. It remains a few pixels below the other controls. Is there some CSS style I need to set to get the aligment of this control correct?
I am using the BETA 09.11 AJAX library in Visual Studio 2008 SP 1 and the project is compiled with .NET framework 3.5 SP 1
AJAX asp.net 3.5 SP 1 Combobox
Mar 29, 2010 10:51 AM|LINK
please see the View source of your compile page
and find some spaces or i think some margin-bottom effect on your dropdownlist
Mar 30, 2010 07:16 PM|LINK
I did check all the styles applied and found nothing that would affect th positioning of the control.
I did however find something that solved the problem. I changed the Rendermode property from
inline to block and now it renders in the correct position.
I don't know why this changes the position but perhaps someone out there can enlighten me...?
Mar 01, 2011 10:21 AM|LINK
I have the exact same problem with the control, have tried the above mentioned solution and did not help at all
An interesting thing that I have stumbled upon is with each new item that I add the space between the combobox and the button expands
I have uploaded a .zip (bug.zip) file with 2 .jpg files, for a visual presentation. The .zip file can be found here http://www.mediafire.com/file/9n4wzf1oxf1lraj/Bug.zip
The CSS used is the one that van be found in the AjaxControlToolkitSampleSite (AjaxControlToolkit.Binary.NET35) StyleSheet.css
It was done in Visual Web Developer 2008 Express Edition and Firefox 3.6.13 and with Microsoft Visual Studio 2008