Combo box displays as text

S

shannonlolley

I have an aspx page with a combo box on it. The combo box items are
displayed as text from left to right with no spaces between items. I
believe I have seen this posted in a previous post, but I cannot find
it. Does anyone have a link to the post or an answer to this problem?
Thanks.

For Search Engines: asp aspx .net asp.net aspx.net iis combo box items
displayed as text vb.net vs.net
 
M

Mark Rae

I have an aspx page with a combo box on it. The combo box items are
displayed as text from left to right with no spaces between items.

There's no point in posting stuff like this unless you also include the code
which isn't working as you'd expect...
 
S

shannonlolley

Mark said:
There's no point in posting stuff like this unless you also include the code
which isn't working as you'd expect...

Ok, here is the code. By the way, I fixed the same problem a couple
months ago with a patch I found on a newsgroup post. The patch was
from Microsoft, and I cannot find it again. Sadly, I do not remember
what it was.

<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="prodconfig.aspx.vb"
Inherits="ProductConfigurator.prodconfig" debug="False"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>Product Configurator</title>
<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
<meta content="VBScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body bgColor="#ffffff" MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<HR style="Z-INDEX: 101; LEFT: 12px; POSITION: absolute; TOP: 53px;
HEIGHT: 3px" width="99%" SIZE="3">
<asp:dropdownlist id="cboCategory" style="Z-INDEX: 108; LEFT: 218px;
POSITION: absolute; TOP: 23px" runat="server" AutoPostBack="True"
Width="169px" Height="17px"></asp:dropdownlist><asp:label id="Label3"
style="Z-INDEX: 104; LEFT: 218px; POSITION: absolute; TOP: 4px"
runat="server" Width="54px"
Height="18px">Category</asp:label><asp:dropdownlist id="cboMachine"
style="Z-INDEX: 105; LEFT: 424px; POSITION: absolute; TOP: 23px"
runat="server" AutoPostBack="True" Width="225px"
Height="17px"></asp:dropdownlist><asp:label id="Label2" style="Z-INDEX:
103; LEFT: 425px; POSITION: absolute; TOP: 4px" runat="server"
Width="54px" Height="18px">Machine</asp:label><asp:label id="Label1"
style="Z-INDEX: 102; LEFT: 12px; POSITION: absolute; TOP: 4px"
runat="server" Width="81px"
Height="18px">Manufactor</asp:label><asp:dropdownlist
id="cboManufactor" style="Z-INDEX: 106; LEFT: 12px; POSITION: absolute;
TOP: 23px" runat="server" AutoPostBack="True" Width="182px"
Height="25px"></asp:dropdownlist><asp:table id="OutputTable"
style="Z-INDEX: 107; LEFT: 10px; POSITION: absolute; TOP: 59px"
runat="server" Width="99%" Height="59px"
BorderStyle="Inset"></asp:table></form>
</body>
</HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top