checkbox

CheckBoxEdit into WPF grid (DevExp)

Hello i put TextBox Column into WPF grid like this: DevExpress.Wpf.Grid.GridColumn col = new GridColumn(); col.FieldName = dr["FieldName"].ToString(); col.Header = dr["Caption"].ToString(); //Gets or sets the name of the column col.Name = "c"+ dr["FieldID"].ToString(); Grid.Columns.Add(col); Does anyone knows how to add a CheckBox t...

jQuery checkbox manipulation

I have a list of checkboxes, looking like this: <table> <tr><td><input type="checkbox" /> <label>Bla</label></td></tr> <tr><td><input type="checkbox" /> <label> + Bla Sub 1</label></td></tr> <tr><td><input type="checkbox" /> <label> + Bla Sub 2</label></td></tr> <tr><td><input type="checkbox" /> <label> + Bla Sub 3</label></td></tr>...

jQuery Checkboxes in Safari

Hi Guys, I am trying to add a class when a checkbox is "checked" in Safari and remove it when it is unchecked [in other browsers I am using.bind("focus", function() { but in Safari it doesnt work?] I am currently using jQuery('.top_class input').bind("focus", function(){ jQuery(this).parents('.row').addClass("add_over"); }) ...

Flex Datagrid dynamically adding rows via checkboxex

Hello Stackoverflowers. Does anybody know how to add a new row to a datagrid via a checkbox. example: checkbox 1 : label (PS2) checkbox 2 : label (PS3) checkbox 3 : label (PSP) By selecting one or all of these checkboxes i what to add a new Datagrid row. Datagrid Console price row1 PS2 $20, row2 P...

Android list view clarification quest

Hi guys, My scenario: -I'm using a list view in multiple choice mode to enable a user to delete several items he/she has checked, at once. -When the user clicks the delete button, i do the following: -get positions of checked items using: myList.getCheckedItemPositions(); -Get the items in this position and put them to a list - toDelet...

Change size of checkbox in Flex

In Flex, is there an easy way to change the size of a Checkbox? I want to make the checkbox bigger, but the label beside it the same font size. Thanks! ...

C# : How do i post a form to a website with some checked checkboxes ?

I'm working in C#, and I want to POST to a website that has multiple checkboxes and returns a datafile depending on which checkboxes are checked. First of all, how do I post a form with checked checkboxes ? And once that is done, how do I get the datafile the site sends me ? ...

Ajax - php - mysql - checkbox

I am trying to create a dynamic system with check boxes for an web based game that I am trying to make using Ajax, PHP and MYsql Is there a possible way to detect whenever a checkbox is selected/unselected, pull up information from the database and display information based on user's selection dynamically on the website without refresh...

jquery Checkbox live click event jams firefox when actually clicking the checkbox

I have the following jquery code specified: $('#firstbox ul.checkboxlist input[type="checkbox"]').live('click',function(){ $(this).parents('li').remove().clone().prependTo('#secondbox ul.checkboxlist').animate({backgroundColor: '#FAEA96'},100, function(){$(this).animate({backgroundColor: '#FFFFFF'},800);}); }); It takes the li, remov...

Find the status of Checkbox in Grdiview with paging

Hello All, This is the code that i use to find whether any checkbox is checked in gridview if($("table tr td:first-child input:checkbox:checked").length ==0) { alert("Select atleast one event to delete");return false ; } if(confirm('Are you sure! you want to delete the selected events(s)?')) return true; else retur...

Add image to Checkbox in winforms

Hi I have a Image path(some thing like this "http://ABC/XYZ/PQR.gif").And I want to assign this image to checkbox in winforms using C#.winfroms checkbox does not have SRC,How can I assign this image to checkbox.? ...

Unchecking CheckBox Placed in GridView's Header Template

Hi, I'm using a list view in which I have placed a grid view which contains a checkbox in the header template. Now if this checkbox is checked and I press the clear button then all the checkboxes in that column are unchecked, but that specific checkbox which is in the header is unchecked. What I want is that when the clear button is pres...

Determining Which ListViewItem Checkbox existed in

Hey Guys, I saw something about this, but I've lost it now, and can't find it again. What I need is to know which ListViewItem a checkbox exists in, when the checkbox is checked (Which will eventually lead to its deletion), I tried getting the parent, but apparently that doesn't work. XAML: <ListView Name="incomingMessages" Extensio...

PHP checkbox populate back

Im trying to populate the POST checkboxes this way foreach ($chk as $key => $value) { if (isset($_POST[$key])) $chk[$key][$_POST[$key]] = 'checked="checked"'; } But for some reason is not populating them for the following checkboxes <input type="checkbox" name="chk[]" value="A" />A <input type="checkbox" name="chk[]" value="B" ...

Checkbox not removing items if unchecked - C# WPF

The CheckBox in my form won't remove items from the listbox at all if it is unchecked, even though I have it in the correct events private void WWW_checkbox_Checked(object sender, RoutedEventArgs e) { packagelist_listbox.Items.Remove(SelectaCategory_listbox); LoadPackageList.Load("www.xml"); XmlNodeList WWWPackageList = Load...

Why does a checkbox not remain checked in IE but not in FF or Chrome

i will make myself clear hope it will help to solve my problem In my search engine i have the option to search some subjects from check box...it is like i have 10 check box with an option to choose some of the 10 check box and then to press search and i need to see some results.... now in IE after I press the search button i can see th...

How to do the checkboxfunctionality in MVc Asp.net using C# Application?

Hello All, I am having a edit client form in my application which is having an acheckbox labeled isActive and in the database the datatype of the isActive field is integer.The field isActive is not mandatory , the user can select it or else it cannot it is on his own wish. I am receiving the below error If I am not selecting the checkbo...

WPF: displaying XML attribute as a checkbox

I have this XmlElement, and add some attributes to it: xmlElemMux.SetAttribute("test1", "1"); xmlElemMux.SetAttribute("test2", "0"); I can display those in a window using a textbox like this in the xaml, after setting the DataContext of my grid to xmlElemMux: TextBox Text="{Binding XPath=@test1}" TextBox Text="{Binding XPath=@test2}" T...

Delete Multiple Row Challenge - MySQL & PHP with Checkbox Control

I want to build a feature that enables the user to moderate questions and is similar to wordpress comment or typical email moderation that uses a checkbox to approve/delete many questions at once. How would I modify the following code to check which the questions are checked and react to the delete buttons when pressed? You may notice f...

Form check with JS: select at least one checkbox and max 2 checkboxes

Hi, is there a way to validate a form through JS and check how many checkboxes are selected? I have a list with 15 checkboxes and I want that the user check exactly 2 checkboxes. ...