Ask a Question related to ASP.NET General, Design and Development.
-
Craig Deelsnyder [MVP] #1
Re: Spacing radio buttons in a PlaceHolder
You could add a LiteralControl with the text <br><br> between adding the
two controls....
On Mon, 14 Jul 2003 22:45:48 GMT, Matt <metal@rocks.com> wrote:
> Hi,
>
> I'm creating radio buttons "on the fly" for a page, but i need to
> format it a little bit. What i want to do is to add line breaks
> between RadioButtonList items. Example :
>
> RadioButtonList ListeRdBt = new RadioButtonList();
>
> ListeRdBt.ID = "ListeRdBt";
> ListeRdBt.Items.Add(new ListItem("Button 1", "1"));
> ListeRdBt.Items.Add(new ListItem("Button 2", "2"));
>
> PHPresent.Controls.Add(ListeRdBt); // This is a PlaceHolder control
>
>
> In this example i want to put two <br><br> after the first item added
> in the RadioButtonList, so that the radio buttons are separated by two
> line breaks. I know i can use the CellSpacing property, but this also
> affects the horizontal spacing, which i don't want to. Any trick to do
> this? Thanks for any help!
>
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Craig Deelsnyder [MVP] Guest
-
help with radio buttons
I need some help with my radio buttons. I have 3 radio buttons in my form. Now when one is selected and the form is submitted they all go to the... -
Flash MX 2004: Making radio buttons without using the radio buttoncomponent
Hello Can anyway suggest a good guide for making radio buttons without the radio button component? I'm new to Flash, but I've gotten to the point... -
Radio buttons help
Try Using The Following: radioButtonName.setStyle("color", 0xFFFFFF); Replace The "FFFFFF" With The Hex Code For Whatever Colour You Want. -
buttons/spacing in Dreamweaver
When I insert Fireworks html into Dreamweaver (inserting a previously created button), there is space created below the button (or whatever). I can't... -
Why do I get a placeholder when trying to use Flash buttons?
I just loaded Dreamweaver MX 6.1 on my TiBook. I'm running Mac OSX v10.2.6. When I try to place a Flash button or text, all I get is a placeholder, &...



Reply With Quote

