Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have a Radio Button as

XML
<asp:RadioButton ID="R1" runat="server" Text = "AAAAAAAA"  />



the text "AAAAAAAAA" comes in new line of the round circle(Radio Button Symbol) but i want it should come on its right side.


Can any body please to help me.


Thanks
Posted

<asp:RadioButton ID="RadioButton1" Text="SSSSSSSS" runat="server" TextAlign="right" />
this should work , if doesn't it mean you put radio button an a tag with limited size of height width!
 
Share this answer
 
try like this
VB
<asp:RadioButton ID="RadioButton1" runat="server" Text="SSSS"
                    TextAlign="Left" />
 
Share this answer
 
Comments
Mir Ishaq 6-Jun-12 8:52am    
SSS comes on top and the symbol on bottom
vangapally Naveen Kumar 6-Jun-12 9:14am    
try like this
<asp:RadioButton ID="RadioButton1" runat="server" Text="SSSS" TextAlign="Left"
Width="38px" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900