Tagged Questions
1
vote
0answers
8 views
DetailsView Insert default value for checkboxes
I have a big DetailsView form for an insert to a database and I have a lot (10+) checkbox fields. Many of them aren't visible because we don't want those fields activated yet to have data submitted ...
0
votes
2answers
42 views
when the checkbox is checked allow one data for dropdownlist
I want to know on how to handle this using Javascript, When i Checked the Checkbox of IsPrimary , i Will limit that dropdown data to becaome an unique value where it is the only one who is primary on ...
0
votes
1answer
51 views
Display textbox control when checkbox is checked
I have used the following JavaScript to display Two Textbox Controls with Calendar Extenders when CheckBox is checked. Otherwise, they will be hidden. (I hide the table row which contains Textbox ...
0
votes
1answer
15 views
Bind int to checkbox
In my web site I have a bunch of checkboxes but unfortunately, ASP evaluates true as 1. The database I'm working with requires true to evaluate to -1.
How can I convert checkbox.checked to -1 and ...
1
vote
2answers
50 views
check box not working properly at page load
I have got problem with check-box to enable corresponding control next to it. My Requirement is at the page load we want to disable the all textboxes and dropdownlists by using checkbox
if the ...
0
votes
0answers
15 views
Validate Checkbox group generated using MVC Editorfor
I'll try to keep this as simple as possible - this is a validation issue with ASP.NET MVC4 and jQuery for a checkbox group.
Scenario -
I have a form showing details for a Manufacturer entity, and a ...
0
votes
0answers
13 views
Nested gridview checkboxes are not toggling when master gridview checkbox is toggled
I have the following code ...
<asp:GridView ID="gvStudents" runat="server" DataSourceID="SqlDataSourceStudents" AutoGenerateColumns="False" Width="100%" ...
0
votes
0answers
18 views
Check whether checkboxes in gridview are checked or not
I want to check whether the checkbox is checked or not in gridview.
This is the gridview I created,
<asp:GridView ID="gridview_modules" runat="server" AutoGenerateColumns="False" ...
0
votes
0answers
22 views
ASP Checkbox boolean value
My ASP detailsview and Gridview have a bunch of checkboxes bound to fields right now that are in an Oracle database. To my knowledge, Oracle doesn't actually have a Boolean value (Y/N instead).
Right ...
0
votes
0answers
37 views
How to Code on checkbox which is add in listview
I found a solution how can you do this follow this code for code in on click event of check box which is in list box. hope this is full for you guys.
You have to add checkbox in listview below:
...
1
vote
1answer
26 views
ASP.NET CheckBox in ListView
So I have a list view and inside I have a checkbox and two radio button. The checkbox controlls where the radiobuttons are disabled or enabled.
As you can see I have it working for the first item in ...
0
votes
0answers
14 views
Checkbox bind does not work for insert radgrid template
Hallo I have a problem.
I made a telerik radgrid. I have a FormTemplate where i have a custom form to insert new items.
The item has a couple of properties. On of them is a string and one of them is ...
1
vote
2answers
39 views
ASP.NET/Javascript: this.id is empty for asp:CheckBox
I have an asp:CheckBox with the following tag:
<asp:CheckBox ID="cbTest1" runat="server" onchange="cbChange(this.id);"/>
cbChange is a Javascript function in the <head> that looks like ...
1
vote
1answer
14 views
Toggle visibility of a boundfield on CheckedChanged event
I have a gridview with a couple of BoundFields in. What I wish to do is once I check (or un-check) a specific checkbox <asp:CheckBox ID="chkShowExtra" runat="server" AutoPostBack="True" ...
0
votes
2answers
42 views
Getting values of check-box from formcollection in asp.net mvc
I viewed some topics here but I still have a problem with getting values from checkboxes.
Part of Model :
public Dictionary<Language, bool> TargetLanguages { get; set; }
Part of View :
...
0
votes
1answer
26 views
Checkbox styling in HeaderTemplate
<asp:GridView AutoGenerateColumns="false" ID="gvFriend" runat="server" PageSize="5"
AllowPaging="false" DataKeyNames="Email">
<Columns>
...
0
votes
1answer
30 views
Access to html checkbox values in asp.net
I am making dynamic page which is getting the data from a table SQL and displaying the records as HTML checkboxes using Literal.
How do I access them via the Submit button?
Relevant Code:
...
0
votes
0answers
84 views
Checkbox Value inserted into a textbox - Asp.net (Vb)
First time poster.
I have a question. I have a popup window that will filter out id numbers, and display only certain values from my database in a gridview. I have a vertical row of checkboxes, each ...
1
vote
4answers
125 views
How to Uncheck Select All Checkbox when one checkbox is Unchecked
I have a checkbox named Select All. When I click this then all other check box inside my Gridview is Checked. But I want when anyone of the checkbox inside the grid will be unchecked then this Select ...
0
votes
2answers
91 views
Asp.net Treeview with check boxes
Below is my treeview control in aspx page
<asp:TreeView ID="TvCategories" runat="server" ShowCheckBoxes="All" OnSelectedNodeChanged="TvCategories_SelectedNodeChanged">
</asp:TreeView>
...
0
votes
2answers
49 views
Dynamically display checkboxes
On my web page I have 2 text boxes which take the input as Year and month respectively. Then From the Database table depending on these values a column value is retrieved which is called working days. ...
0
votes
2answers
45 views
Add checkboxes dynamically
I have a calender table which consist of a columns named working days which contain entries (1 or 0) 1 representing the working days and 0 representing the holidays. Now when I get the data from ...
0
votes
2answers
74 views
Flat CheckBox using CSS
I need to flat and style CheckBox in my aspx page. I used below css code. but nothing happen.
input[type="checkbox"]
{
border: 1px solid #ccc;
border-radius: 4px;
-moz-border-radius: 4px;
...
1
vote
1answer
168 views
Check Checkbox from code behind asp.net
I want to change my Checkbox states when I write any thing in a textbox so I did
<asp:CheckBox ID="chkIceChest" Text="Ice Chest" runat="server" />
<asp:TextBox ID="txtIceChest" Text="$ ...
0
votes
0answers
70 views
How to add check box in gridview and print in Crystal Report?
My requirement is to print those information from the table which is checked from the Gridview.
I am displaying all data from database to Gridview and then passing this data as SQL Query to the ...
0
votes
1answer
18 views
Rejected Filter not working
I have three checkboxes: Pending, Approved and Rejected. I am using the checkboxes to filter my gridview.
Here is my code for filtering:
string sqlfilter = "id >= 1";
DataView dv = new ...
0
votes
1answer
31 views
How to access generated controls using ASP.Net
I have a four column table with a variable amount of rows, which needs to support selection of single or multiple rows. I have decided to use CheckBoxes in one of the columns to implement this ...
0
votes
2answers
68 views
filter gridview using checkbox
I have a gridView and two checkboxes that will be used for filtering..
the first checkbox(Accepted), when checked, the gridview will only show data from the database that have the status Accepted.
...
0
votes
3answers
90 views
Checked_Change Event of programatically generated Checkbox inside GridView Row
I have a GridView which holds user data. When the Page_Load Method is called, I get data using a DataTable and then bind it to the GridView. At the end of each row, I have added a CheckBox. This CB is ...
0
votes
2answers
116 views
How to uncheck the checkbox when other checkbox is check for asp.net checkboxes
My Asp.net Checkboxes
<asp:CheckBox ID="All" runat="server" Checked="true" Text="ALL" ForeColor="Black" /><br />
<asp:CheckBox ID="otherCheckBox2" runat="server" Checked="false" ...