|
|
|
start date: Fri, 17 Aug 2007 11:40:27 -0400,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
dancer
|
|
2
seigo
|
|
3
dancer
|
Text box on same line as Radio Buttons
Using ASP.Net1.0
How can I get "Type of degree" and the following text box on the same line
as the radio buttons for "CollegeCompleted"?
I have tried <div style="float:left">, which works well for me in other
areas, but not in this case.
<HR>
College Name <span style="margin-left:162px;">
City/State <br>
<asp:TextBox id="College" columns = "35" runat=server/>
<asp:TextBox id="CollegeCity" columns = "35" runat=server/>
<br>Last Year Completed
<asp:RadioButtonList id="CollegeCompleted" RepeatDirection="horizontal"
Runat=server>
<asp:ListItem><font size="2"> 1</asp:ListItem>
<asp:ListItem><font size="2">2</asp:ListItem>
<asp:ListItem><font size="2">3</asp:ListItem>
<asp:ListItem><font size="2">4</asp:ListItem>
<asp:ListItem><font size="2">5</asp:ListItem>
</asp:RadioButtonList>
Type of Degree: <asp:TextBox id="DegreeCollege" runat=server/>
<HR>
Date:Fri, 17 Aug 2007 11:40:27 -0400
Author:
|
Re: Text box on same line as Radio Buttons
On Aug 17, 6:40 pm, "dancer" wrote:
> Using ASP.Net1.0
>
> How can I get "Type of degree" and the following text box on the same line
> as the radio buttons for "CollegeCompleted"?
> I have tried <div style="float:left">, which works well for me in other
> areas, but not in this case.
>
> <HR>
>
> College Name <span style="margin-left:162px;">
>
> City/State <br>
>
> <asp:TextBox id="College" columns = "35" runat=server/>
>
> <asp:TextBox id="CollegeCity" columns = "35" runat=server/>
>
> <br>Last Year Completed
>
> <asp:RadioButtonList id="CollegeCompleted" RepeatDirection="horizontal"
> Runat=server>
>
> <asp:ListItem><font size="2"> 1</asp:ListItem>
>
> <asp:ListItem><font size="2">2</asp:ListItem>
>
> <asp:ListItem><font size="2">3</asp:ListItem>
>
> <asp:ListItem><font size="2">4</asp:ListItem>
>
> <asp:ListItem><font size="2">5</asp:ListItem>
>
> </asp:RadioButtonList>
>
> Type of Degree: <asp:TextBox id="DegreeCollege" runat=server/>
>
> <HR>
Hi dancer,
You should add RepeatLayout="Flow" to RadioButtonList:
<asp:RadioButtonList id="CollegeCompleted"
RepeatDirection="horizontal"
Runat=server RepeatLayout="Flow">
<asp:ListItem><font size="2"> 1</asp:ListItem>
<asp:ListItem><font size="2">2</asp:ListItem>
<asp:ListItem><font size="2">3</asp:ListItem>
<asp:ListItem><font size="2">4</asp:ListItem>
<asp:ListItem><font size="2">5</asp:ListItem>
</asp:RadioButtonList>
Type of Degree: <asp:TextBox id="DegreeCollege" runat=server/>
Regards,
Alexander Kleshchevnikov
MCP
www.klalex.com
Date:Fri, 17 Aug 2007 08:51:09 -0700
Author:
|
Re: Text box on same line as Radio Buttons
That worked well. THANK YOU.
"seigo" wrote in message
news:1187365869.355627.265430@w3g2000hsg.googlegroups.com...
> On Aug 17, 6:40 pm, "dancer" wrote:
>> Using ASP.Net1.0
>>
>> How can I get "Type of degree" and the following text box on the same
>> line
>> as the radio buttons for "CollegeCompleted"?
>> I have tried <div style="float:left">, which works well for me in other
>> areas, but not in this case.
>>
>> <HR>
>>
>> College Name <span style="margin-left:162px;">
>>
>> City/State <br>
>>
>> <asp:TextBox id="College" columns = "35" runat=server/>
>>
>> <asp:TextBox id="CollegeCity" columns = "35" runat=server/>
>>
>> <br>Last Year Completed
>>
>> <asp:RadioButtonList id="CollegeCompleted" RepeatDirection="horizontal"
>> Runat=server>
>>
>> <asp:ListItem><font size="2"> 1</asp:ListItem>
>>
>> <asp:ListItem><font size="2">2</asp:ListItem>
>>
>> <asp:ListItem><font size="2">3</asp:ListItem>
>>
>> <asp:ListItem><font size="2">4</asp:ListItem>
>>
>> <asp:ListItem><font size="2">5</asp:ListItem>
>>
>> </asp:RadioButtonList>
>>
>> Type of Degree: <asp:TextBox id="DegreeCollege" runat=server/>
>>
>> <HR>
>
> Hi dancer,
>
> You should add RepeatLayout="Flow" to RadioButtonList:
>
> <asp:RadioButtonList id="CollegeCompleted"
> RepeatDirection="horizontal"
> Runat=server RepeatLayout="Flow">
>
>
> <asp:ListItem><font size="2"> 1</asp:ListItem>
>
>
> <asp:ListItem><font size="2">2</asp:ListItem>
>
>
> <asp:ListItem><font size="2">3</asp:ListItem>
>
>
> <asp:ListItem><font size="2">4</asp:ListItem>
>
>
> <asp:ListItem><font size="2">5</asp:ListItem>
>
>
> </asp:RadioButtonList>
>
>
> Type of Degree: <asp:TextBox id="DegreeCollege" runat=server/>
>
> Regards,
> Alexander Kleshchevnikov
> MCP
> www.klalex.com
>
Date:Fri, 17 Aug 2007 12:17:24 -0400
Author:
|
|
|