Click here to Skip to main content
15,900,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<tr style="background-color: #ECF6CE;">
                    <td width="150px">
                        <asp:RadioButton ID="RBQue1" runat="server" TextAlign="Left" GroupName="que1" Text="(1/3)" />
                    </td>
                    <td width="150px">
                        <asp:RadioButton ID="RBQue2" runat="server" GroupName="que1" Text="(1/8)" />
                    </td>
                </tr>

this is my radio buttons in asp.net page. I want radio button text besides that button. please help me.
Posted

ASP.NET
<tr style="background-color: #ECF6CE;">
                    <td width="150px">
                        <asp:radiobutton id="RBQue1" runat="server" textalign="Left" groupname="que1" text="(1/3)" xmlns:asp="#unknown" />
                    </td>
                    <td width="150px">
                        <asp:radiobutton id="RBQue2" runat="server" groupname="que1" text="(1/8)" xmlns:asp="#unknown" />
                    </td>
                </tr>
 
Share this answer
 
v2
use the textalign propery of the radio button on the left.
 
Share this answer
 

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