I have been struggling with getting a list returned in my Razor View page. I am passing data to my controller which connects to my service to retrieve ...
I have been struggling with getting a list returned in my Razor View page. I am passing data to my controller which connects to my service to retrieve ...
Here is a step by step form working as a slider. Parent div has styling and children has active child has passive childs has When firs ...
I'm rendering a recursive tree-structure using a ViewComponent, and I'm struggeling with the use of Html.HiddenFor and Html.CheckBoxFor in the form. ...
I have the following dropdownlist: Now the OrderCodesListhas the following: OrderCodeId,DisplayString & Percentage How can I set a HiddenFor v ...
I want to use hiddenFor field to save record_time to database while displaying date in a html.display or similar to that field without editing. CREAT ...
Using ASP.NET MVC and Razor, I'm trying to pass a ViewBag item from the controller to a HiddenFor field (using Razor). I get the following message: Ex ...
In an MVC5 internet application, how can I keep the contents of a ViewModel List, between the HTTPGet request and the HTTPPost request. I have done s ...
I'm using MVC 2. When I do this: I get this in the view: I confirmed that the model has the correct value before returning the view in the contr ...
I have a form, to submit a bid. And I want to set the value of the hiddenfor to the id of the car (I get it with the viewbag), but it doesn't work ...
I have a class named "AirLineSession": In my view I have: When I summit this view, only data of SortByRating is passed to the model in Controll ...
I have a View where the User can leave a feedback comment in regards to the content video that is playing on the page. Using the following code I am a ...
I have the problem documented here and here and here and especially here where, in an ASP.NET MVC4 view, the html helper function @Html.HiddenFor(m =& ...
I understand that I can use @Html.HiddenFor(m => m.parameter) and when the form is submitted, that parameter will be passed to the controller. My m ...
I have a problem evaluating a hidden field in JavaScript (ASP MVC4) I am using a model in my View and have a hidden input for a property in the model ...
HiddenFor description is: Returns an HTML hidden input element for each property in the object that is represented by the specified expression. I rea ...
I am creating a simple blog applicaton. I have to add comments to a blog post. I have a line in my code which looks like this: Basically, I am sett ...
I've stumbled upon a really weird situation with ASP.Net MVC, passing an "id" as an action parameter and an "id" hidden form element. I have an action ...
The ViewModel looks like this: WC has a correlated group of TC. Their relation is mapped by TC containing the foreign key WCId. In the view, I hav ...
in my mvc 3 app with ef code first i have a database with 1 table the column field is ID TIME1 Double TIME2 Double TIME3 Double I need time3 is th ...