CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Break tags with a radio button control

Print topic Send  topic

Author Message
Malcolm L.
Posted: 09/18/2003, 2:04 PM

According to the Help files, one can add a break tag such that it appears after every radio button instance. The help says to add the <BR> tag like this:

<!-- BEGIN RadioButton Label1 -->
<input {Check} type="radio" name="Label1" value="{Value}">{Description}
<BR><!-- END RadioButton Label1 -->

I've done this, and it doesn't work. Why not?

I've also, been careful to ensure that the aspx and aspx.cs files were being completly regenerated by way of deleting them and republishing.

Thanks for any help,
Malcolm
Tom
Posted: 09/20/2003, 7:32 AM

Take a look at the aspx file and you see that the radio button is generated as an aspx control which then .net autogenerates its own html overriding anything you touched in the html file.
I'm assuming you want the control to list the radio buttons vertically.
What I did was in the before show event, I set the radio button orientation to vertical.
You can find the 'real name' of the radio button by looking at the code .aspx file (not the aspx.vb)

It will look something like MYFORMMYRADIO
Then do a MYFORMMYRADIO.RepeatDirection=RepeatDirection.Vertical


A listing of all of the control values:
<asp:RadioButtonList id="RadioButtonList1"
AutoPostBack="True|False"
CellPadding="Pixels"
DataSource="<% databindingexpression %>"
DataTextField="DataSourceField"
DataValueField="DataSourceField"
RepeatColumns="ColumnCount"
RepeatDirection="Vertical|Horizontal"
RepeatLayout="Flow|Table"
TextAlign="Right|Left"
OnSelectedIndexChanged="OnSelectedIndexChangedMethod"
runat="server">

<asp:ListItem Text="label"
Value="value"
Selected="True|False" />

</asp:RadioButtonList>

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.