Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Stop RadioButtonList wrapping

Posted on 2003-12-03
3
Medium Priority
?
1,107 Views
Last Modified: 2008-02-01
I have a RadioButtonList inside a table cell, which I want to be as narrow as possible, but the text in the RadioButtonList is wrapping. Is there an easy way to stop it?
The example below demonstrates the problem, although in my case I'm using dynamic text.
Thanks.

<form id="Form1" method="post" runat="server">
 <TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="1">
  <TR>
   <TD noWrap width="1%">
    <asp:RadioButtonList id="RadioButtonList1" runat="server">
     <asp:ListItem Value="Test item 1">Test item 1</asp:ListItem>
     <asp:ListItem Value="Test item 2">Test item 2</asp:ListItem>
    </asp:RadioButtonList></TD>
   <TD></TD>
  </TR>
 </TABLE>
</form>
0
Comment
Question by:zalbermere
2 Comments
 
LVL 9

Accepted Solution

by:
malharone earned 500 total points
ID: 9871702
<TD noWrap width="1%"> ... dont specify the width. it'll autosize it .. but wont guarantee the minimum -- depends on the browser.
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 10246760
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: malharone {http:#9871702}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question