checkbox

Adding a custom dependency property to a Control Template in XAML

Hi all, I have managed to get further with my read only check box after a bit of a break and now have the functionality I want in a reasonably elegant form. The problem is I have used a bit of a hack to make it work, although this is not a disaster it would be nice to do it better. To recap: I want a regular looking checkbox that does ...

jQuery Validation Plugin Checkbox errorPlacement

I have a group of checkboxes that all have the same name. They all have different values. They are just part of a form. They do not make up the entire form. I want the checkboxes to display their error AFTER the last checkbox of that group. is it possible to do something like this in jQuery? $("#myform").validate({ errorPlacement: fu...

Can't add a routed command to a CheckBox in WPF

Hi, A custom RoutedCommand is used by some menuItems; I would like to use the same RoutedCommand with checkboxes : <CheckBox Command="local:MainWindow.SwitchContextCommand"> The compiler gives no error, but when i lauch the app, I get an exception telling me that the Command value can't be null and consequently SwitchContextCommand c...

Preserving checkbox states on same page with query results

I'm using django, and have a static webpage with a GET form, and about 30 checkboxes. The user selects various boxes, and clicks search, and a result from a database is returned to the same page in a table. However, all the checkboxes have been cleared, since HTML is stateless. What's the simplest solution to 'remember' the state of t...

Winforms - How to control Checkbox Colors (similar to textbox readonly)

On a checkbox I can set .Enabled = False to gray-out the checkbox rectangle and associated label. But the appearance is not visually appealing, i.e. both the label and checkmark become "faint"; (I know i can use my own label but that's only half the solution). If i set .AutoCheck = False, the colors remain normal, however user gets no c...

treeview with Checkbox - MVC

I need to show a treeview with checkboxes to select in MVC with C#. I have two tables. one with categories and subcategories and the other one with products. Some categories wont have sub categories in the first table, they'll have only products. I need to populate the Treeview with these two tables. Please suggest me to do it in MVC a...

Flex CheckBox in Datagrid

In the followin flex Code : Also viewable at : http://www.cse.epicenterlabs.com/checkBoxDg/checkBoxDg.html 1. Add a row in datagrid by clicking on "AddRow" 2. Click on "CheckDg" to see the values of all the checkboxes - it shows "checkBox57" or "checkBox64" or some similar string 3. Now, "select" the checkBox in the first row. 4. ...

select all checkbox pagination help required...

Hi, I currently have a report with pagination, that displays 10 records Per page. Within this report, I also have a checkbox column for every record. Based on this, I want to incorporate a "Check All" feature, so based on my scenario which displays 10 records, when I press the "Check All" checkbox, I would like to check all the visi...

jQuery multiple checkbox filters

Hi All, I have a list of events, these events are each of a specific type, and start in a specific month. I have a checkbox group for types and one for months. What I'm trying to do is use the checkboxes to filter the list. I've got it working with one group, but can't seem to get it working with two. Basically I'm trying to set a cla...

OnClick vs OnClientClick for an asp:CheckBox?

Does anyone know why a client-side javascript handler for asp:CheckBox needs to be an OnClick="" attribute rather than an OnClientClick="" attribute, as for asp:Button? For example, this works: <asp:CheckBox runat="server" OnClick="alert(this.checked);" /> and this doesn't (no error): <asp:CheckBox runat="server" OnClientClick="ale...

ASP.NET CheckBoxGroup - Validate user chooses at least one checkbox

I've got a checkbox group control that I want to require the user to check at least ONE box, it does not matter if they check every single one, or 3, or even just one. In the spirit of asp.net's validation controls can I use to enforce this. I'm also using the Ajax validation extender, so it would be nice if it could look like other con...

Copy value in textarea within two different forms (both forms in different .asp file)

Hi there, I have two different forms which is formA and formB where each form in different .asp file. In each form there is a textarea where the user need to enter their address. Beside the textarea in formB there is a checkbox where the user can click on it if the address for both textareas are the same. My question is how can I copy t...

Retrieve & display selected information in different window into a form in another window using checkbox

Hi guys, I have a form. Inside the form there are some fields for company details. User no need to fill in the field. What they are suppose to do is that they need to click on link provided and the link will pop up new window with the list of companies name in it. Beside the company name there's a checkbox. The user just need to click t...

persistence of checkbox values

I have a page with several checkboxes. I check a few of them and go to the next page, when I come back on this page, these checkboxes need to remain checked as they were before navigating to another page. Need to do it with Javascript. Any clue?? ...

Zend Framework Checkbox Decorators

What I am trying to accomplish is to have checkbox labels display after checkbox input fields (to the right of them). I am using these decorators now: private $checkboxDecorators = array( Label, array(array('data' => 'HtmlTag'), array('tag' => 'div', 'class' => 'checkbox')), 'ViewHelper', array(array('row' => 'HtmlTag')...

jQuery Checkboxes

Hi All, I'm trying to write a piece of jQuery code where, if all checkboxes are "unchecked", then all li tags have the class "disabled." But, if one checkbox (any checkbox) is checked, then all [li] tags lose the class "disabled". Many thanks! ...

Jquery Iterate Through All Checked Boxes and Remove Class

Hello All, I'm currently using jQuery and would like some help on iterating through all "checked" checkboxes and remove a class (called "new_message") of the parent table row. I've got a basic concept, but I can't quite figure the entire thing out. Here is what I am currently using: $("#unread_button").click(function (event) { event....

BlackBery - List with checkbox along with search criteria

Hi, I am trying to display a list of data with checkboxes, where user can select multiple items at one time... I want a search field on top of the list which will search through the list... How do I do it? ...

How to stop event bubbling on checkbox click

I have a checkbox that I want to perform some Ajax action on the click event, however the checkbox is also inside a container with it's own click behaviour that I don't want to run when the checkbox is clicked. This sample illustrates what I want to do: <html lang="en"> <head> <title>Test</title> <script type="text/javascr...

How to get size of check and gap in check box?

I have a check box that I want to accurately measure so I can position controls on a dialog correctly. I can easily measure the size of the text on the control - but I don't know the "official" way of calculating the size of the check box and the gap before (or after) the text. ...