radio-button

Is their any asp net server control which could render <label> tag?

I want to render a <label> tag. But want to set some of it's properties while it's rendering like for and text value. Actually my real problem is I want to associate a label with a radio button and this is the code so far I have: <asp:RadioButton ID="Option4" GroupName="A" runat="server" /> <label for='<%=Option4.ClientID %>' id="lbl...

Adding new eventHandler in RadioButton CheckedChanges in dynamic table

Hi! I`m trying to add another eventHandler to RadioButton. This is the sample code(which is working): asp.net: <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder> <asp:Button ID="Button1" runat="server" Text="Button" /> C#: protected void Page_Load(obje...

How to prevent saving in global variable to know the last clicked radio button?

I am trying to implement a grid with radio button selector. When the radio button is clicked, the row is set to a different color. Also, when a radio is selected in the grid, it needs to see if there was a previously selected radio button so that it could change the color set. <script type="text/javascript"> var lastSelectedId = ''; fun...

iterating through radiobuttons

Is there a way to iterate through radiobuttons belonging to a certain group or movieclip? Like this: private var radioButtons:RadioButtonGroup = new RadioButtonGroup("radioButtons"); for (var i:int = 0; i < radioButtons.numRadioButtons; i++ ) { trace(radioButtons); // Here i want to do something like this: radioButtons[i].label = "h...

NSIS- How can I dynamically show a particular custom page?

My 1st page contains 2 radio buttons: 1 for install and other for upgrade. Depending upon user selection I have to show custom pages for installation or upgradation. How can I do this? ...

Embed characters in component labels

I have the following code: var tf:TextFormat = new TextFormat(); tf.font = "arial"; aRButton.textField.antiAliasType = "advanced"; aRButton.setStyle("textFormat", tf); aRButton.setStyle("embedFonts", true); When i run this i get antialias on my radiobutton but the Swedish characters å, ä and ö disappears. Is there a way to manually e...

Trying to select radio button based on asp variable

Hi and thanks for your help, I am trying to select a radio button based on an ASP variable. This variable directly correlates to the value field of the radio button. Any ideas guys/gals? Thanks, Will ...

JQuery and RadioButtons question

Hi, I have a table containing radiobuttons (i.e. 3x3 grid) and I want when I select one of them the containing the radiobutton to change colour. Following this example I did this <table class="table-name"> <tr> <td> <span>Some text</span> <input type="radio" name="some-name" /> </td> <td> <span>Som...

Check if Radio Button Value checked

<tr> <td align="left"> <input type="radio" name="radio_1" value="1" />Public <input type="radio" name="radio_1" value="2" />Not Public <input type="radio" name="radio_1" value="3" />Confidential </td> </tr> <tr> <td align="left"> <input type="radio" name="radio_2" value="1" />Public <...

Which radio button is selected in a TRadioGroup?

As you can see in my question history, I'm developing a eBook manager, that will be open-source and I will release it in about 10 days, but I have a TRadioGroup, as you can see: And I want to store somethings in a variable(that needs to be a Integer) that will be "linked" with this TRadioGroup. I need to do a if function like this: ...

GUI Design - ComboBoxes Versus Lists or RadioButtons

When should some GUI elements be used over others? For instance, how do you choose between a ComboBox, RadioButtons, or Listbox? For instance, I have seen ComboBoxes used for as many as two items and radio buttons for two items as well, on the same panel. How do you maintain a constant, intuitive GUI interface that is not confusing to th...

CodeIgniter - How to set default value to unchecked for radio buttons/checkboxes while using set_radio and set_checkbox ?

I think I'm missing some simple here, but I can't figure it out for the life of me. I'm using the set_radio() and set_checkbox() methods to return their values if validation fails, like this <input type="radio" name="gender" value="male" <? if(!isset($thankyou)) { echo set_radio('gender', 'male'); } ?>/>;Male <br /> <input type="radio...

How can I use jQuery to make a group of radiobuttons inactive?

I want to have a group of radiobuttons that are inactive until a checkbox is clicked. In other words, when the user checks a checkbox, it will allow the user to use the radiobuttons. If the user unchecks a checkbox, it will make the radiobuttons inactive, so the user cannot select them anymore. Is there a solution using jQuery that I c...

Binding enum values to RadioButton in Java

I am stuck in binding values from enum to RadioButton. Lets say I have a bean: public class ValueObject { public enum ValueEnum { FIRST_VALUE, SECOND_VALUE } protected ValueEnum value; } I want to create Swing RadioButtons where user can select one from these two enum values. As I use Netbeans as IDE I would also like t...

define, radio button change to auto drop down with loop

Hi all, i looking for help... and hope of you kindly I want to change my site language model from radio button to auto dropdown button using loop This the languages if ($lang=="en") { //Pages define ("Pages", "Pages") ; } if ($lang=="de") { define ("Pages", "Seiten") ; } This the existing Radio button <td width="6...

RadioButtonList without the Radio Button Circle?

basically, i just want the RadioButtonList without the radio button on it, i will code the rbl so that selected items have a different background color and make it look more professional, the radio buttons themselves i want to be able to get rid of in terms of apperance... if you know of any way to do it, please do let me know! ...

Radio button selection on jquery tabs label click

I had a simple working (ASP.NET) Scenario here: 3 asp:RadioButtons that each have OnCheckedChanged event that will update an asp:gridview. But now, I want to put some description for each radiobutton selection,and I thought it would be a good idea to embed them in JQuery UI Tabs like the following : <div id="tabs"> <ul> <li><a href...

Redefine the behavior of the Tab key in a JRadioButton?

I'm trying to redefine the behavior of the Tab key in a JRadioButton so it behaves like radio buttons in other GUI applications, that is: Arrow keys cycle through the radio buttons in the ButtonGroup (I have this working) Tab moves focus to the next component after the last radio button in the group (Problem area) I have an Action th...

how to use JRadioButton groups with a model

Is there any way to associate a group of JRadioButtons with a data model so it is easier to tell which button (if any) is selected? In an ideal world, I would like to associate a group of N radiobuttons with an enum class that has a NONE value and one value associated with each radiobutton. ...

WPF RadioButton selected in UI, but seen by code as IsChecked == false

I have some radio buttons in a group box. I select the buttons randomly, and all works perfectly from a visual standpoint and also the event handler is called each time a new button is selected. Now I have a dependency property with a callback when the value changes. When in this callback procedure I read the IsChecked value of any butt...