473,666 Members | 1,989 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

RadioButtonList layout problem

I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg
Nov 19 '05 #1
4 2908
Oleg,

Use separate radiobuttons rather than a RadioButtonList and put them inside
an html table in the way you want. Assign the same GroupName to all the
buttons.

Eliyahu

"Oleg" <Ol**@discussio ns.microsoft.co m> wrote in message
news:6F******** *************** ***********@mic rosoft.com...
I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg

Nov 19 '05 #2
Oleg wrote:
I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg


Nope, dont believe so.
Dont use the List, use individuals with the same groupname instead, then
you can have better layout control

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #3
Is there any way to refer to all radio button controls(with the same
groupname) as a collections in code? That is without naming all of them.
Oleg

"Curt_C [MVP]" wrote:
Oleg wrote:
I have a RadioButtonList with layout vertical. And having 2 columns.
Let's say I have 6 items.
It will create this look:
o o
o o
o o

What I want is to look like:
o o
o o
o
o

That is to put 4 items in one column and 2 in another.
How do I do it. If I can at all?

Thanks,
Oleg


Nope, dont believe so.
Dont use the List, use individuals with the same groupname instead, then
you can have better layout control

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

Nov 19 '05 #4
Oleg wrote:
Is there any way to refer to all radio button controls(with the same
groupname) as a collections in code? That is without naming all of them.


for what purpose? You give them all the same "groupname" but individual
id's..

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2198
by: Ed | last post by:
The page I'm working on is at http://www.coldpizzasoftware.com/temp/layout.html I trying to get the yellow sidebar to go in the white area to the right of the green content area and between the blue header and footer. Does anyone know how to do? I know I can add float: left; to the content div and it sort of works, but it doesn't seem right either. In this case the content div and the side bar div will no longer stay in their...
5
2622
by: Rick Spiewak | last post by:
I'm using a DataList inside a Grid Layout Panel (which ends up being a <DIV>) so that I can use the overflow:scroll property. This is working fine, except for one anomaly: If there aren't enough items to cause an overflow, and scrolling, they get spaced evenly inside the <DIV>. So, one item appears in the middle of the area, two spread out with space on top, between, and bottom, etc. Finally, after adding enough to fill the area, the...
0
1065
by: Arun K | last post by:
Hi, I have a RadioButtonList with Active and Inactive List Items (static) with other textbox fields. When the form is in edit mode i need to get data from database and show the status checked depending upon db value (A or I). I was able to bind rest of the the textboxes, but i am unable to bind this RadioButtonList. Any thoughts on this ??
5
1237
by: Mark | last post by:
I am struggling with a CSS2 layout problem, I am using Visual Web Developer 2005 Express. My website needs to be constrained within the visible viewport. This means that scrollable content will be contained within a scrollable DIV - the problem I have is in giving this DIV a certain height and width of it's containing DIV. For instance... <body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
7
2614
by: Andrew | last post by:
I've been struggling to achieve the following layout for some time now and I'm not getting anywhere. I've tried several approaches including floats & absolute positioning and none seem to work, primarily due to the footer not being aware of the columns due to me floating / positioning them. I have the following (very simple) markup: <div id="head">...</div> <div id="left">...</div>
3
2253
by: Roberto Roachling | last post by:
Hello, Converting a table layout to a div layout. The navbar is giving me some trouble. div link: http://gertrudischale.com/essay.pl.htm (slightly incomplete, but illustrates problem) table link:http://gertrudischale.com/_en/essay.htm The images in the nav bar are slightly smaller in the div version. I cant figure out why the last item in the nav bar wraps. The widths are
1
2110
by: Jeff | last post by:
hey asp.net 2.0 I'm trying to create a web page where users can register to my web portal. But I've run into a layout problem when using the data validator classes. The problem is that the error message is not displayed on the same row as the control it's validating. Check this link and you see an example of the problem: http://home.online.no/~au-holme/pub/14506/problem.GIF the text "Password and confirm password must match" is not...
3
1593
by: Ted Hopp | last post by:
This one's a wrinkle on the usual 3-column layout problem. I need to have fixed-width left and right side rails and a fluid center area, with a header and a footer that go across all three. As usual, any one of the three content areas may be the tallest. The wrinkle is that I need the right side rail to contain a div (as wide as the right rail) that is aligned to the *bottom* of the content area (just above the footer), even when the...
1
1523
by: Scott | last post by:
I've been trying to use css stylesheets to lay out a header, a left column and a main content area using width as percentages so the layout can expand and contract with the browser. I'm using Visual Studio 2008 professional with VB as the codebehind language on the aspx pages as well as having a page master with the header, left nav, and footer contained in it and a ContentPlaceHolder in the main right div to be filled in by the various...
0
8445
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8871
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6198
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5664
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4369
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.