checkbox

Possible to disable/make item not visable in select list?

Is it possible to make an item disabled/not visable in a select list? What I'm trying to accomplish is to, depending on a number of checkboxes, if they are selected, the fields should appear in the dropdown. However, I do have manditory fields that always should be in the dropdown and it should all be in a serten order. Checkboxes: <...

Trouble with check boxes using get and javascript/jquery

Hi, I am working on the following form for a local charity: http://bit.ly/dtcuv7 I am having trouble with the check boxes in the availability section. What I really want is for people to be able to simply check the times they are available to help out and then have these checked times sent with the rest of the form data to the charit...

select all items in the listbox in asp.net

if checkbox is clicked i need to select all items in the listbox in asp.net... how to show the items all selected in listbox once the 'selectall' checkbox is clicked ...

Checkbox List in JDialog

I'm trying to use a JDialog box that has a search text field that as text is entered, it shortens a list to those that match. On this list I would like to display each line with a checkbox that can be selected. I might also want the ability for it to function like a select all list where Ctrl + Click on the line would select the item an...

Html - From checkbox to combobox

In the web app I am currently developing I have a form, and one of the fields is a boolean "IsFixedCost" (true/false). The natural way, to me, to represent it on the form is with a checkbox: FixedCost? (checked = true, unchecked = false). My boss forced me to change it in a combobox: FixedCost? -> option1: Fixed, option2: Variable bec...

the checkbox event is not triggerd???

i have created checkbox event maually. chkCheckBox1.CheckedChanged += new EventHandler(chkCheckBox1_CheckedChanged); this event is not triggered,in pageload i have put (!page.ispostback) { } so when i clik the check box it goes to the page load and not going to the evnt protected void chkCheckBox1_CheckedChanged(object sender, E...

How to receive a event on android checkbox check change?

what would be the correct way of receiving and sending a event when a check box get's enable or disable. In c# i could just easily double click and all the code would be done for me. but in android it appears to be a bit more obscure. i thought of using the touch event handlers but then if the user has a keyboard it wont detect the chang...

add ItemTemplate Manually to create Checkbox column in TemplateField

I am creating the checkbox manually by adding templatefield and , but i cannot able to get the value of Checkbox Checked. my code: TemplateField tf = new TemplateField(); tf.ItemTemplate = new clsMyTemplate(); CheckBox chkCheckBox1 = new CheckBox(); tf.ItemTemplate.InstantiateIn(chkCheckBox1); chkCheckBox1.Checked = (DataBinder....

Two check-box's in one check-box list

I am currently working on converting an application from access to C# and have come across an odd control I need to replicate. In access there is a list of check-box's, for the current month the user is looking at, which has everyday of that month with two check-box's beside it, D and N (for day and night). So my question is what would b...

Line wrapping in GtkCheckButton or GtkRadioButton labels

Is there any way to get the label of a GtkCheckButton or GtkRadioButton to wrap when its parent container is resized small enough so the label won't fit on one line? ...

Change the state of a checkbox on Form2 and keep the state

All I am trying to do is to change the state of checkbox on form2, and keep the state after pression OK. I have form1 which is my main form and it only has one Strip menu. The code for form1 is as follow: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System....

Keyboard focus to list box items in wpf

Hi, I am having a list box, and its item template is having one check box. Now, when I click on the check box in the listbox, it sets the checked status of the check box. If I use keyboard "Space" key, I cannot change the checkbox state. Note: Keyboard is shortcut is working once I set focus to the check box by clicking it. ...

How can I get smaller CheckBox

Hi all, Is it possible to get a smaller CheckBox, like the one used in Settings application? I'd like to use it in my own custom Preference class, to mimic Android UI more closely... Thank you for your time, Kipple ...

How to send dinamically generated variables via ajax, using post method.

Ok, the title isn't so easy to understand, i think. First fact: I'm new to ajax. Now on with the show :) I've an html page wich contains a table, some rows and inside any row i checkbox. When i select a checkbox i will to delete the message BUT only when i click a red-button-of-death. Example table    tr(unique_id)       td [checkbox...

how to get this checkbox index

how to get the position /index of checkbox placed inside gridview GridViewRow headerrow=GrdDynamicControls.HeaderRow; TableCell tb = headerrow.Cells[i]; string strheaderrow = tb.Text; if (strheaderrow.Contains( strColumnName)) { bool val = ...

Problem proccessing checkbox on MAMP

Hello I have two separately named checkboxes sending values to the following script. I seem completely unable to reliably tell if the checkboxes are on or off. I have checked the values are being sent in the $_POST and they are as expected. Please help! $form = $_POST['form']; $recruit = $_POST['recruiting']; if (empty ($form)) { ...

WPF associate value with checkbox

I am new to WPF and am having issues with associating a value with an object. I have a TreeView with CheckBoxes and I am wondering how I can associate an object to each checkbox. I want to be able to select all the checked checkboxes (no problem) and get a list of objects that are associated with each checked box. For example, let's...

Winforms treeview, recursively check child nodes problem

The following code is taken direct from Microsoft at http://msdn.microsoft.com/en-us/library/system.windows.forms.treeview.aftercheck%28VS.80%29.aspx. // Updates all child tree nodes recursively. private void CheckAllChildNodes(TreeNode treeNode, bool nodeChecked) { foreach (TreeNode node in treeNode.Nodes) { node.Checke...

Checkbox Stays Checked on Page Refresh

This a pretty simple question (I assume). Probably a repost, but I couldn't find the answer here... so here we go. I have a checkbox on a page that I want to default to "unchecked" (unless I specify otherwise in my php). When I refresh the page, if the box was checked, it will stay checked which is no-bueno because checking the box ...

How do I work with checkboxes with DataMapper and Sinatra?

I'm trying to make a simple room management service. The rooms have these properties: class Room include DataMapper::Resource validates_is_unique :number property :id, Serial property :number, Integer property :guest, String property :status, Enum[ :free, :occupied ], :default => :free end Then I create a new room like th...