Tagged Questions
3
votes
1answer
444 views
How to serialize the checkbox in a form into Json data
We know that in MVC, a CheckBoxFor will generate a checkbox with a value="true" and a hidden with a value=false. Both input controls will share the same name.
It is very reasonable because the form ...
1
vote
1answer
1k views
ASP.NET MVC 3 - multiple checkbox list
I read tutorial "Creating an Entity Framework Data Model for an ASP.NET MVC Application" from http://www.asp.net/ and wanted to use multiple checkbox list from part 6 - ...
1
vote
1answer
232 views
C# MVC3 Boolean editor template or html helper for a Byte model
is there was a way of making a checkbox editor template or html helper for a Byte MVC model property? Someone else did ask basically the same thing here, Display a byte as a checkbox using a ...
0
votes
1answer
93 views
Persist checkbox values on postback in MVC3
Model:
public class UserViewModel
{
public UserDetail user { get; set; }
public List<int> SelectedRoles { get; set; }
}
HttpGet Action:
public ...
0
votes
1answer
75 views
Storing checkboxes state in current session/run
My view including checkbox clickevent listener which should be fired every time a checkbox state had been changed:
<html>
<head>
<script type="text/javascript" ...
0
votes
1answer
339 views
CheckboxList in ASP.Net MVC3
My application needs to do an HTTP post of a table with checkboxes . On the controller side I will need to traverse the table and perform certain operations for each row that was checked.
The things ...
1
vote
0answers
388 views
WebGrid checkbox value lost on page change
I'm using WebGrid sorting, paging (server paging) in my MVC project, also filtering the data. I created the checkbox for each row in WebGrid to allow user to do multiple selection. But found that ...
1
vote
0answers
715 views
Custom check box image with asp.net/MVC Razor/Telerik
I using asp.net MVC3 with Razor and I have Telerik controls available.
Is there some way to use MVC HTML helpers or Telerik MVC controls to make a custom check box that works with images?
Such as -
...
1
vote
0answers
177 views
MVC Razor Form with multiple tick boxes
Hi guys I got a view where a user can create a new skill to add to a database but I need to be able to use multiple levels. The user chooses a skill thats already in the database via a drop down list ...
0
votes
0answers
21 views
Disable checkboxes values when its submitted before in database in asp.net mvc
Hello this is my class that i joint 3 tables in it
namespace UniRegistration.Models
{
public class UnitSelectionViewModel
{
public Student Student { get; set; }
public ...
0
votes
0answers
83 views
Checkboxes in table rows cant be clicked on
I have a table that contains a list of alerts. Each row in the table is a unique alert. At the end of each row in the last cell is a checkbox.
We have a mechanism to indicate whether the item has ...
0
votes
0answers
86 views
asp.net mvc check checkboxes from serialized modelstate
I'm building a form wizard. So far its working, I do it by serializing the object into a hidden field.
In step 2 of the wizard, I'm generating checkboxes based on a list from my database.
My view ...
0
votes
0answers
121 views
MVC extra hidden checkbox in forms breaking custom css checkbox
I am trying to customize the look and feel of the checkboxes in my ASP.NET MVC site, using a technique like the one detailed here: http://cssdeck.com/labs/css-checkbox-styles
They work great except ...
0
votes
0answers
103 views
Checkbox spring jstl
I am working with spring mvc and JSTL.
I have to manage many checkboxes in a form
I have:
public class Lezione{
...
@OneToMany(mappedBy = "lezione")
@LazyCollection(LazyCollectionOption.FALSE)
...
0
votes
0answers
120 views
I have a checkbox in my Master Detail CRUD that is not working
I have a Master Detail CRUD in one of my views.
This is the html for my detail. It has a checkbox int it.
When I click create, nothing happens. I replaced the checkbox with a texbox, just to see if it ...