DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us