Hey Guys -
I'm at my wit's end with this.
Can anyone see anything wrong with this line? The function won't fire by clicking on the checkbox for some reason, but the calling function works fine (if I copy the exact "onclick" attribute over to the label for the checkbox, it works fine).
<input type="checkbox" name="match_35_0" id="match...
I cant find a way to save the checkbox state when using a Cursor adapter. Everything else works fine but if i click on a checkbox it is repeated when it is recycled. Ive seen examples using array adapters but because of my lack of experience im finding it hard to translate it into using a cursor adapter. Could someone give me an example ...
Hi i am trying to write a datatrigger in which i have to clear a textbox content on checkbox checked.My Code is given below
It works as long as you dont type anything in the textbox.As soon as i type in the textbox the datatrigger fails to work.How can i solve this
<Window x:Class="CheckboxTextbox.Window1"
xmlns="http://schemas.mic...
I have a GridControl view which is being populated with one column as a Boolean to show the value as a checkbox.
However, I wish to hide some checkboxes based on the state of other columns. I have tried to use the gridView_CustomDrawCell() event but cannot find a suitable property.
I expected to find a visible property to set to false...
What wrong with the my code. When I click on the checkbox, nothing happen
$(document).ready(function(){
$('input:checkbox[name=drawingNo]').click(function(){alert('I am here');});
});
...
<body>
<form>
<input type="checkbox" name="drawingNo" value="1"> 1 <br>
<input type="checkbox" name="drawingNo"...
I have a CheckedTextView which allows the user to check multiple items. I want the user to only select up to 10 items and then prevent them from checking any more items once 10 has been reached. The problem is that im not able to uncheck the 11th item once its been selected. Ive tried TextView.setChecked(false) but nothing seems to happe...
Scenario
I have a DevExpress DataGrid which is bound to a DataSet in C#.
I want to populate each dataset row to contain a string in the first column and a checkbox in the second. My code below doesn't work quite how I want it to, and I'm not sure why.....
The Code
As you can see I've declared a dataset, but when I try and pass in a ne...
Hi,
I have a combobox whose ItemTemplate is a Checkbox. This is checkbox is bound to an object which has a bool and a string. The checkbox checked state is bound to the bool and the content is bound to the string.
I want a select all option at the top of the combobox collection, which has an indeterminate state, according to the other ...
if i click on any checkbox all previous checkboxes must get checked
"my logic works"
if i uncheck a checkbox then all checkboxes after it must get unchecked
"how to do that"
MyLogic works for storm but not for other models
what to do
//well what i want to do is i have 5 checkboxes
class myscreen
{
chk_service = new CheckboxField[5];...
Hi,
I have this code to update users data, but I can't write the for loop inside jquery data!!
Is there any way to modify the follwing wrong code to be correctly
function DisactiveUser()
{
var num_checkboxes = document.forms[0].elements.length-1;
$.ajax({
type: "POST",
url: "submit/php/users.php?do=disactive",
da...
Id like to be able to create checkboxes for a list of objects. Then offer the user a number of actions to perform on the objects selected. I.e. delete, archive etc.
I know of ryan's screencasts but it doesnt explain how to create links to multiple actions for the selected objects. It just showed him create a form_tag with a url to one a...
[Updated a bit] I have a Task model that has a :completed boolean attribute. If I click on it I want it to execute the 'finish' method. The main problem is that I am displays a series of checkboxes in a list and subsequent checkboxes after the first one are ignored. The method is never called for the given task/checkbox combo.
I have th...
So, i'm having a problem (newbie one) with a CheckBox Listener AND a ListView. I need to request the '...long id) that passes through the Overriden method onListItemClick and put it into a OnCheckedChangeListener. How should i do that?
If you guys need the code i can post it!
Thanks in advance!!
...
I have a treeview in my .aspx:
<asp:TreeView ID="tvDocCatAndType" runat="server" />
Not much else going on in the page -- two <asp:LinkButtons> and one <asp:Label>; the page is a child of a master page, so these controls are within a <asp:Content> control. I populate the treeview in code -- just 3 node levels, including the root node....
I have a set of 4 checkboxes, all with different names, and require that at least 1 is checked.
I have set the class on all of them to 'require-one'.
<html>
<head>
<script src="scripts/lib/jquery.js" type="text/javascript"></script>
<script src="scripts/jquery.validate.js" type="text/javascript"></script>
<script language="JavaScr...
On my site, a user gets email notifications when someone comments on their profile, or comments on their blog etc...I have made a email settings page that has checkboxes to allow the user to decide to receive emails or not.
This is what I am wrapping around the email notification code chunck for the pages that have the php mail:
<...
i want to change the forecolor of the checked item when it is unchecked..
for checked item i have used item.checked but what to do if it is unchecked? im using winforms
...
I have a checkbox which in some cases may be disabled and checked using javascript, i.e:
var cbTest = document.getElementById("CheckBoxTest");
cbTest.disabled = true;
cbTest.checked = true;
However, when sending a postback, CheckBoxTest.Checked is false on the server side.
Is it possible to disable the checkbox and still have the ser...
I have several checkboxes with the same name and the last checkbox is basically "Other" with an empty text field next to it. I'm using jquery validation and I want to make the empty text field required when the checkbox for other is selected.
Not sure how to do this with the checboxes all having the same name.
Thanks.
...
I need to access to a value in a checkbox, the atribute value has content, so i need to place the id somewhere else i created a label, but i have not access to that value
alert(check[i].label); // doesnt work
where else can i place a value in checkbox.
Please dont write that i can do this
<input type='checkbox' id='bla' name='myb...