checkbox

How do I create a custom DataGridViewCell with a non-data bound checkbox?

Hi, I'm trying to use and modify the code behind the TreeGridView control created by Mark Rideout and explained here: http://blogs.msdn.com/markrideout/archive/2006/01/08/510700.aspx My current problem is that I want to have non-data bound checkboxes in certain cells. It didn't seem to work to use a DataGridViewCheckBoxColumn, so I th...

WPF Databinding CheckBox.IsChecked

How would I bind the IsChecked member of a CheckBox to a member variable in my form? (I realize I can access it directly, but I am trying to learn about databinding and WPF) Below is my failed attempt to get this working. XAML: <Window x:Class="MyProject.Form1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:...

WPF: How to make a "pushlike" checkbox?

I would like to make a CheckBox that looks exactly like a button. My initial feeble attempt doesn't work at all. <CheckBox x:Name="test"> Testing! <CheckBox.Template> <ControlTemplate> <Button> <ContentPresenter/> </Button> </ControlTemplate> </CheckBox.Template> </Chec...

CheckBox in tableview

Hai all, I am facing a trouble in putting check boxes into a table view. I am posting a part of my code here.. - (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { NSButtonCell *cell=[[NSButtonCell alloc] init]; NSString *strDisplayPlaylistName; strDisplayP...

how to get automatically checked on checkbox templete on click of edit button in gridview,c#

Hello, am having a grid view and i have a template checkbox... Now i have a edit, delete button. Once i click on edit button in gridview.... This template checkbox has to be automatically have checked == true... that is automatically checked has to be selected on click of edit buton in gride view..can anyone tell that code...Thank you...

Retrieving values from a checkbox

Hi, I use a php checkbox and I want to retrieve marked values. My checkbox code : <label for="cours">Je suis intéressé par un ou plusieurs cours :</label><br><br> <input type="checkbox" name="cours" value="individuel">Individuel<br> <input type="checkbox" name="cours" value="semiprive">Semi-privé<br> <input type="checkbox" name="cours...

BlackBerry - TreeField with Checkboxes ?

Hi , Is it possible to add checkboxes to a treefield in Blackberry? If yes, how do I do it? Thanks in advance. Please help ...

Is it possible to set a checked listview item to mixed state?

The CheckBox control exposes both boolean Checked and System.Windows.Forms.CheckState enum CheckState properties, which allow you to set the control to either checked, unchecked, or mixed state (Indeterminate enum value). I want to set a ListView item's state to Indeterminate, but only the Checked property seems to be available. So, is ...

Problem with jquery handling checkboxes in IE8

I am using jquery to locate all the checkboxes in a table column that are checked. For that purpose I am using the following code: $("input[type=checkbox][checked]").each(function() { //Do Stuff }); This works fine in Firefox 3 but does not work in IE8 or Safari. Can anyone explain why and/or provide a...

Group box with title as Check box

Hi, I am using Visual Studio 6.0 (VC++ with MFC) in Windows XP platform. I am trying to create a group box with the title of the group box as a check box. My intention is this: If the check box is enabled, the controls inside the group box should be enabled; or else disabled. Is this possible to accomplish? If yes, please give me some ...

Can I avoid having an UpdatePanel that kills viewstate?

I selection page that has a gridview that presents the user with a list of data items that they can click on to "drill into" - redirecting them to the data maintenance page. Because the list can get long, we have a series of check boxes and drop-down lists at the top that act as filters. We just implemented an UpdatePanel with an Updat...

WPF CheckBox with "Button" appearance

I need a button-like control that can have a Checked property, so that when clicked it stays pressed. I had that functionality in WinForms, with the CheckBox control, setting the Appearance property to "Button". Can someone help me? ...

How can I trigger an itemEditEnd Event in a Flex List when the CheckBox is checked/unchecked?

I have a List component that has drop-in CheckBox itemEditor that also serves as the itemRenderer. It displays each item as a simple CheckBox with a label. However, the itemEditEnd Event does not get triggered until I click on something outside of the List. I want it triggered once the CheckBox is checked or unchecked. I was thinking o...

WPF Treeview - Get status of checkbox.

Hi, I have created a Treeview and used a stack panel to include a checkbox, icon image and text for each node in the tree. These nodes are created at runtime. I also have a button object. The xaml is below. The problem i have is that, when the click me button is clicked, i need to traverse thru the tree view and if a checkbox is checked...

C# Add Checkbox To WinForms Context Menu

Hello! I have a series of checkboxes on a form. I want to be able to select these from a context menu as well as the form itself. The context menu is linked to the system tray icon of the application. My question is, is it possible to link the context menu to these checkboxes? Or even possible to add checkboxes to the context menu? Or e...

C# Datagridview Checkbox Checked Event - multiple rows?

Hello! I have a datagridview with multiple columns and rows. The first column contains a checkbox. I want the user to be able to select multiple checkboxes and then perform an action. For example if they select checkboxes in rows 1 and 2, the data from other columns in rows 1 and 2 can be selected and passed into a messagebox. I know i ...

checkbox array loop in c#

I am receiving long string of checked html checkbox values (Request.Form["mylist"] return Value1,Value2,Value3....) on the form post in ASP.NET 2.0 page. Now I simply want to loop these but I don't know what is the best practice to loop this array of string. I am trying to do something like this: foreach (string Item in Request.Form["...

PHP: Retrieving value of checkboxes when name doesn't have array

A form I don't have any control over is POSTing data to my PHP script. The form contains checkboxes along these lines: <input type="checkbox" value="val1" name="option"/> <input type="checkbox" value="val2" name="option"/> If I were to write the code for the form, I'd write name="option[]" instead of name="option". But this is not a c...

How to disable only the selectionBox of the check box in i.e

I want only to disbled only the selection box of the check box but it is not working in ie ...

Selecting a Checkbox and deleting a data grid row in Flex

Hi, I am trying to implement the following : 1> First column of datagrid has a checkbox. 2> Select checkboxes, and then delete the datagrid column. 3> Dynamically, add checkbox when row is added dynamically. 4> Do not show check box if now data in row. Can someone give some guidance ? ...