radio-button

ASP.Net RadioButton visibility inside a RadioButtonList

Is there a way to hide radio buttons inside a RadioButtonList control programmatically? ...

How do I style (css) radio buttons and labels?

Given the code bellow, how do I style the radio buttons to be next to the labels and style the label of the selected radio button differently than the other labels? <div class="input radio"> <fieldset> <legend>What color is the sky?</legend> <input type="hidden" name="color" value="" id="SubmitQuestion" /> <...

What are my options for having the RadioButtonList functionality of ASP.NET in WinForms?

Is this type of control only available in a 3rd-party library? Has someone implemented an open source version? ...

Multi-line label in RadioButton component (AS3)

I'm making a small quiz-application in Flash (and ActionScript 3). Decided to use the RadioButton-component for radiobuttons, but I'm having some problems getting the word-wrapping to work. The code for creating the button can be found below. _button = new RadioButton(); _button.setStyle("textFormat", _format); _button.label = _config....

jQuery multiple radio buttons

New to javascript/jquery and having a hard time with using "this" or "$(this)" to get the current object. I have a table with a set of radio buttons on each row, each named 's_'. None of the radio buttons are checked by default: <tr> <td align="left" style="width: 300px"> <div id="div_s_0"> <input type="radio" name="s...

jquery image selector not working in IE7

So I have some html like so: <div id="avatar_choices"> <label for="id_choice_0"> <input id="id_choice_0" type="radio" name="choice" value="7" /> <img src="someimage.jpg" /> </label> <label for="id_choice_1"> <input id="id_choice_1" type="radio" name="choice" value="8" /> <img src="someimage2.jpg" /> <...

Threaded RadioButtonList

What is the best way to build a dynamic 'Threaded' ASP.net radio button list? I am not that familiar with RadioButtonLists and it is my understanding that ASP.net doesn't like the application of individual styling of ListItems. ...

Can you style an html radio button to look like a checkbox?

I have an html form that a user will fill out and print. Once printed, these forms will be faxed or mailed to a government agency, and need to look close enough like the original form published by said agency that a government bureaucrat doesn't spot that this is a reproduction. The data entered in the form is not saved anywhere or eve...

Radio Buttons getting deselected when dragging item using jQuery Sortables

I'm using the jQuery UI sortables plugin to allow re-ordering of some list items. Inside each list item, I've got a couple of radio buttons which allow the item to be enabled or disabled. When the item is dragged, both radio buttons get deselected, which doesn't seem like it should be happening. Is this correct behavior, and if not, w...

How to find checked RadioButton inside Repeater Item?

I have a Repeater control on ASPX-page defined like this: <asp:Repeater ID="answerVariantRepeater" runat="server" onitemdatabound="answerVariantRepeater_ItemDataBound"> <ItemTemplate> <asp:RadioButton ID="answerVariantRadioButton" runat="server" GroupName="answerVariants" Text='<%# DataBinder.Eva...

Reading the selected value from asp:RadioButtonList using jQuery

I've got code similar to the following... <p><label>Do you have buffet facilities?</label> <asp:RadioButtonList ID="blnBuffetMealFacilities:chk" runat="server"> <asp:ListItem Text="Yes" Value="1"></asp:ListItem> <asp:ListItem Text="No" Value="0"></asp:ListItem> </asp:RadioButtonList></p> <div id="HasBuffet"> <p><label>What...

Radio buttons in SSRS Report

Hi, How do I add radio buttons as my parameter type in SSRS reports? Thanks in advance, Anna ...

What is the best way to implement a 2D grid of radio buttons?

What is the best way to implement a 2D grid of radio buttons so that only one option in each column and one option in each row can be selected? ...

using "onclick" with radio button in appengine.

Here's a code snippet. . . <form name="FinalAccept" method="get"><br> <input type="radio" name="YesNo" value="Yes" onclick="/accept"> Yes<br> <input type="radio" name="YesNo" value="No" onclick="/accept"> No<br> Clearly, what I'm trying to do is call the routine linked to /accept when the user clicks on the radio button. I know the...

How do I use databinding with Windows Forms radio buttons?

I have a binary field in my database that is hard to describe in a UI using a single "Is XXXX?"-type checkbox. I'd rather use a pair of radio buttons (e.g. "Do it the Foo way" and "Do it the Bar way"), but right now all the other fields on my form are data-bound to a business object. I'd like to data-bind the pair of radio buttons to t...

GWT - GXT - How to get Radio Button Value ?

Hi I am using GWT (Google Web Toolkit) 1.5.3 et GXT (ExtJS) 1.2 I just want to create a simple form with some radio buttons generated after a RPC call, to get some values Code: final FormPanel simple = new FormPanel(); simple.setFrame(true); simple.setWidth(350); simple.setHeaderVisible(false); DateField date = ne...

MVC RadioButton: Modelbinder passing incorrect hidden values?

For a Yes/No radio button group the following Html is rendered. The correct value of the response.text property is returned to the controller. However, the choiceID property of the hidden input is always "1" (the hidden value from first button). Also, the two instances of the selection values are returned to the Model List. ie. " no, Id...

ASP.NET RadioButton messing with the name (groupname)

I got a templated control (a repeater) listing some text and other markup. Each item has a radiobutton associated with it, making it possible for the user to select ONE of the items created by the repeater. The repeater writes the radiobutton setting its id and name generated with the default asp.net naming convention making each radiob...

radiobutton list.SelectedValue=Convert.ToString(sth...) problem

Hi I want to ask I have a radio button list on my page and its values are true and false I'd like to use this; rbl.selectedValue=STRİNG COMES HERE also its false or true or NULL HOW canI take this values and show in the update page the rbl selectes value what it was ...

Radio/checkbox alignment in HTML/CSS

What is the cleanest way to align properly radio buttons / checkboxes with text? The only reliable solution which I have been using so far is table based: <table> <tr> <td><input type="radio" name="opt"></td> <td>Option 1</td> </tr> <tr> <td><input type="radio" name="opt"></td> <td>Option 2</td> </tr> </table> This may...