ASP.NET MVC 4 is the fourth major version of the ASP.NET Model-View-Controller platform for web applications.
0
votes
0answers
11 views
Can HTML5 validation errors prevent publishing?
I'm trying to publish my ASP.NET MVC4 website to a third-party hosting site, and I can't get it to publish no matter what I do. I'm pretty sure that my publishing settings are correct, but I get this ...
0
votes
0answers
8 views
Including scripts in sections in MVC EditorTemplate
I created an editor template for FineUploader doing the following:
@model String
@using System.Web.Mvc;
@{
var controlId = ...
1
vote
0answers
6 views
ActionLink to pass HTML element's value to Action
How can I pass a textbox's value to the controller's action when I do a ActionLink?
I found the following example which passed "static" string (Veggie Sandwiches) to the action (binded to dishName). ...
1
vote
2answers
20 views
Understanding what a foreach loop is looking for in the AppDomain
I was digging though an MVC example that I downloaded a few months ago and ran across a foreach loop that uses the AppDomain.CurrentDomain. I was hoping someone could explain what the foreach loop is ...
1
vote
0answers
9 views
Ajax.BeginForm with MVC is not going to my action
I'm having a problem with using an Ajax form in MVC. Out of no where I am getting the following error:
POST http://localhost:50778/Evaluation/Setup/[object%20NodeList] 404 (Not Found)
It seems to ...
0
votes
2answers
14 views
MVC 4: Displaying a List<> property on a view
I have a Model with a class like this
public class Feature
{
public int ID { get; set; }
public string Desc { get; set; }
public List<Camera> { get; set; }
}
and one like this:
...
0
votes
1answer
27 views
MVC 4 change membership database
I created an mvc 4 application code first application, the membership tables aren't being stored on the .\SQLEXPRESS database, I changed the name of the connection string name to my dbcontext which is ...
2
votes
1answer
19 views
EF MVC4 C#: Many to Many Relationship with “relationship property” DB First
I've already spent the last few days trying to fix my problem, sadly without any result. I've already read countless post on here on this subject, but I keep getting the same error. "Unknown column ...
0
votes
3answers
20 views
MVC4 Pattern for recieving password reset token
Trying to get password reset functionality in place. This will be for a user who has not and cannot log in to the system. I think I'm close but it doesn't feel right:
I have a ResetPassword ...
0
votes
0answers
5 views
Mono 3.2.1 MVC 4 (XSP) System.Web.Mvc assembly trouble
I was trying to deploy .NET 4.5 MVC4 project to the Mono 3.2 XSP and got exception.
Software:
Ubuntu Linux 13.04
Mono 3.2.1 compiled from sources
XSP4 3.0.11 compiled from sources
Exception ...
1
vote
1answer
18 views
MVC4 Model : Using a List<> as a Property
I have a Model with a class like this
public class Feature
{
public int ID { get; set; }
public string Desc { get; set; }
}
and one like this:
public class Camera
{
public int ID { ...
0
votes
0answers
12 views
Appy Html Agility Pack Changes to Web Page
I've used the Html Agility Pack to read/parse HTML elements' values for Coded UI Tests (automated UI testing).
Example:
<html>
<body>
<div id='a'>
<input name="inp" ...
0
votes
1answer
24 views
Is there a simple way to avoid nulls being saved to the Database when using Model Binding
I am using MVC3, Razor, C#, .NET4, EF5.
I have a number of situations where I am editing the domain model directly, and yes I realise that I should be using View Models :) However for the short term ...
0
votes
2answers
28 views
insert a related data in MVC4
I have these two model class:
public class Article
{
public int ID { get; set; }
public string Title { get; set; }
public ICollection<Comment> Comments { get; set; ...
0
votes
1answer
29 views
How does a MVC4 website target a specific client
I am designing a website for an intranet where I will push data to a specific client (browser) using signalR.
I understand that in ASP.NET MVC4, each client that connects to the server will create a ...