G
Guest
Hi
I been having a little problem on both a work and home projects. For work, I
have created a user control with a few textboxs and 2 dropdownlists, here is
the code:
<table style="border-top-style: solid; border-right-style: solid;
border-left-style: solid; border-bottom-style: solid; height: 167px;">
<tr>
<td style="width: 201px; text-align: center; height: 24px;">
Search Options</td>
</tr>
<tr>
<td style="width: 201px; height: 105px" valign="top">
<asp
ropDownList ID="cmbOptions" runat="server" Width="195px"
AutoPostBack="True">
<asp:ListItem Text="Search by PO ID" Value=0 Selected="True"
/>
</asp
ropDownList><br />
<asp
ropDownList ID="cmbFields" runat="server" Width="152px">
<asp:ListItem>RequestDate</asp:ListItem>
</asp
ropDownList><br />
<asp:Label ID="lblFrom" runat="server" Style="left: 291px; top:
78px"
Text="From"></asp:Label>
<asp:TextBox ID="txtFrom" runat="server" Width="89px"
style="left: 87px; top: 100px"></asp:TextBox><br />
<asp:Label ID="lblSearch" runat="server" Style="left: 20px;
position: static; top: 122px"
Text="To"></asp:Label>
<asp:TextBox ID="txtSearch" runat="server" Width="89px"
style="left: 88px; top: 124px"></asp:TextBox> <br />
<asp:Button ID="cmdSearch" runat="server" Text="Start Search"
Width="151px" style="left: 33px; top: 147px" /></td>
</tr>
</table>
I shortened the lists for the dropdowns for this message.
I have given anough room on the right side of the bottom textbox, but
everytime the page loads, the textbox always end up one line down. I tried
using the "Absolutely position" property, but when the page loads, the
controls that where set that way end up in another potition on the page and
not within the table. None of the other settings seem to work either. Is
there a way to handle this so that the textbox stays where its suppose to?
Also, could it have something to do with all the   that gets inserted
when I use the spacebar to position the control? Thanks for any info and
suggestions.
Michael
I been having a little problem on both a work and home projects. For work, I
have created a user control with a few textboxs and 2 dropdownlists, here is
the code:
<table style="border-top-style: solid; border-right-style: solid;
border-left-style: solid; border-bottom-style: solid; height: 167px;">
<tr>
<td style="width: 201px; text-align: center; height: 24px;">
Search Options</td>
</tr>
<tr>
<td style="width: 201px; height: 105px" valign="top">
<asp

AutoPostBack="True">
<asp:ListItem Text="Search by PO ID" Value=0 Selected="True"
/>
</asp

<asp

<asp:ListItem>RequestDate</asp:ListItem>
</asp

<asp:Label ID="lblFrom" runat="server" Style="left: 291px; top:
78px"
Text="From"></asp:Label>
<asp:TextBox ID="txtFrom" runat="server" Width="89px"
style="left: 87px; top: 100px"></asp:TextBox><br />
<asp:Label ID="lblSearch" runat="server" Style="left: 20px;
position: static; top: 122px"
Text="To"></asp:Label>
<asp:TextBox ID="txtSearch" runat="server" Width="89px"
style="left: 88px; top: 124px"></asp:TextBox> <br />
<asp:Button ID="cmdSearch" runat="server" Text="Start Search"
Width="151px" style="left: 33px; top: 147px" /></td>
</tr>
</table>
I shortened the lists for the dropdowns for this message.
I have given anough room on the right side of the bottom textbox, but
everytime the page loads, the textbox always end up one line down. I tried
using the "Absolutely position" property, but when the page loads, the
controls that where set that way end up in another potition on the page and
not within the table. None of the other settings seem to work either. Is
there a way to handle this so that the textbox stays where its suppose to?
Also, could it have something to do with all the   that gets inserted
when I use the spacebar to position the control? Thanks for any info and
suggestions.
Michael