I need to disable all the check boxes inside a table cell when clicking on a hyperlink inside the same table.
I'm using the following jquery code to select all the check boxes nested inside the table.
$el = $(this).parents('table:eq(0)')[0].children('input[type="checkbox"]');
$($el).attr('checked', true);
For some reason this piece o...
I have a default page which loads different controls on pageload according to the querystring.
I have a control which creates checkbox list (inside div_A) on load and get checkbox checked through database, then i click Continue, div_A get invisible with all the checked checkbox id in hidden field and div_B is visible true.
On Go Back cl...
Hi -- I have an unusual situation where I need to have a JTree with each node containing 2 checkboxes and a label (with the ability to add a listener to tell when any of the potential checkboxes are checked). I also need the root node to have the same layout (which I'm assuming means creating a JPanel with 2 JCheckBoxes and a JLabel), wi...
Hi
I have several parent nodes. Each parent nodes contains a list of child nodes. My showcheckboxes are set to all.
My question :
On the client side, when I check the parent node - how can I check all the child nodes without doing a post back or using ajax.
Regards
...
<mx:DataGrid x="10" y="10" width="180" height="302" id="dgActions" dataProvider="{actionCollection}">
<mx:columns>
<mx:DataGridColumn headerText="Action" dataField="name"/>
<mx:DataGridColumn headerText="" dataField="setting" width="30" rendererIsEditor="true">
<mx:itemRenderer >
<mx:Component>
...
Hi i am new to ASP.NET MVC. I am not sure how to deal with Check box or Radio Button to get values when they are clicked. Can any one help me? I am providing a simple code that might help you understand what i meant to be. Please share examples.
<script type="text/javascript" >
function check(browser)
{
document.get...
Hi!
In an ASP:ListView control, I have a checkbox for each row. Each row represents a product with a corresponding price. I want the customer to select one or more products and calculate a total price client side.
So far, I've used the following code, but it does not work:
<asp:CheckBox ID="CheckBox"
runat="server"
...
I need to loop through a div full of an unknown number of checkboxes and get back the values of the checkboxes that are checked, how do I do this with jQuery? I guess it should happen onchange of any of the checkboxes.
...
I'm trying to build an owner-drawn check box using CButton, but since I only want to change the text color, I'd like the check-box marks to remain the same.
Is there a command that allows me to retrieve the default check box bitmaps for the platform where the program is running?
(alternatively: how could I change only the text color,...
I have a checkbox in a UserControl:
<CheckBox Content="Existing" IsChecked="{Binding Path=IsExistingTemplate, Mode=TwoWay}"/>
It is bound to a DataContext with Property IsExistingTemplate which always returns False. (In my real application, it doesn't always return False!). DataContext implements INotifyPropertyChanged.
...
I am assigning a 'ds' dataset to datagrid.In addition to that I want to add new column with check boxes.That new column will be first column of datagrid.
Currently I am using below code,
DataGrid1.DataSource = dsResult.Tables("Result")
Result table has 4 column....in addtion to that i want to column "Selection" with check boxes
...
Hi,
I have a datagrid with a check box. When I click n the cell, I would like the checkbox to be automatically checked when I selected the cell which contains it. what it's doing right now is that I need to select the cell then click on the checkbox and that is quite annoying for us.
<dg:DataGrid Name="GridUsureOperation"...
I'm using the Add Form to add records to my JQGrid. One of the fields is a checkbox. Does anyone know how to have the checkbox to be defaulted to checked when the form displays. I thought it would use the onInitializeForm event and the setCell method but I'm having no luck. Thanks.
...
I am coding Windows Forms application in C# and using CheckListBox Control.
How to check CheckListBox item with just single click?
...
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$('#myDiv').click(function() {
var checkBox = $(this).children("input[type='checkbox']");
checkBox.attr('checked', !checkBox.attr('checked'))
});
});
</script>
<div id="myDiv" style="background-color:red;h...
I'm trying to bind data from my SQLiteDatabase to a ListView. I'm currently using a SimpleCursorAdapter to fill in my ListView. Unfortunately this doesn't seem to work with setting a CheckBox's checked attribute.
This is how I do it now; instead of changing the CheckBox's checked status the adapter is filling in the value to the text ar...
In my project, there is a Repeater. And in the repeater is a CheckBox. When I bind data to the Repeater, how can I control (set checked / unchecked) the CheckBoxs that are produced by the Repeater?
This is what I've tried:
<asp:Repeater ID="Security1" runat="server">
<ItemTemplate>
<tr>
<td> <asp:CheckBox ID="CheckBox1" ...
Why is the checkbox not checked with this code?
<td><%=Html.CheckBox("ItemIsActive", item.ItemIsActive)%></td>
Item.ItemIsActive is of type boolean and set to true?
When i do this, it shows "true" in the view
<td><%=item.ItemIsActive%></td>
...
I have developed a Windows Forms application and it has a datagrid with checkbox. If I press a button then I want to get all checked rows and do some operation on them.
The problem is that when button is pressed it does not recognize the latest checkbox action. It is like one step behind.
My code is:
private void copyToToolStripMen...
I have around 200 hundred checkboxes in a Java GUI. Now I want to have the list of all checkboxes that have been checked by the user.
I can do it in one way like this:
jCheckBox1.isSelected();
But I don't want to write this line for 200 checkboxes. Is there any way to do this through a for loop.
all the checkboxes have the name like...