ASP.NET MVC 3 is the third major version of Model-View-Controller extension for developing web applications in a .NET framework.

learn more… | top users | synonyms (3)

0
votes
1answer
12 views

Copy settings from one Web.config to another except AppSettings and ConnectionStrings

Is it possible, through code, to copy settings from one Web.config file to another (except AppSettings and ConnectionStrings)? I have a situation where a single MVC3 project has been deployed to ...
0
votes
0answers
24 views

Filter datetime fields only by the date value

The problem is this. I have column in my database named Date of type datetime. I'm working on an ASP.NET MVC3 application using jQuery grid to visualize the data. If I use simply this to show the date ...
4
votes
3answers
37 views

Difference between Models and tables in mvc using entity framework(database first)

I use mvc/razor with database first model entity framework.. What is the difference between creating a Model inside the project and having table. Example: I have peopleModel.cs inside ...
0
votes
1answer
19 views

Open View Page with layout using jquery ajax

how do I open a new page with layout using jquery ajax? I need to return strName to my view in my controller. My jquery ajax: mvcJqGrid.demo.edit = function (id) { var urlEdit = ...
0
votes
2answers
21 views

How to Convert sql server query to linq in entity framework

I am converting the sql server query to linq SELECT * FROM DataFlow where FlowDeleted = 0 and DataFlow.FlowVersionNumber = ( SELECT MAX(FlowVersionNumber) from DataFlow i where ...
0
votes
1answer
38 views

Multiple ASP.NET Membership roles in the same Website

In my MVC3 application I have ASP.NET Membership roles like - Manager, System Admin and Editor I am using Windows Authentication for the website and I am adding the users in the Network to the ...
0
votes
1answer
27 views

How can I make two MVC routes starting with different path names use the same controller in MVC4

I have the following routes: routes.MapRoute( name: "One", url: "admin/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } ); ...
1
vote
2answers
24 views

Change date format in ASP.NET MVC application

I need to change date format to fit dd.MM.yyyy. I am getting client side validation error... I've tried everything: Web.config: <globalization uiCulture="ru-RU" culture="ru-RU" /> Model: ...
0
votes
2answers
20 views

Cant create the DB with TPH mode.

I am developing MVC application. I am trying to build the project by model first technique. I have created the three class. Company - Base/Parent class. Customer - Child class inherited from ...
0
votes
1answer
33 views

ASP.NET MVC 3 - Passing variable model to controller

I have this controller public class DownloadController : Controller { [HttpPost] public FileContentResult GetFile(MyModel model) { // Action code } } And this model public ...
1
vote
3answers
30 views

How can I make my routes that start with /home always direct to the home controller and index action?

I have the following route: routes.MapRoute( name: "Default", url: "home/{action}/{id}", defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional } ); This ...
0
votes
1answer
39 views

How to get MVC ActionResult in External Javascript File

I am confuse how to achieve this I have a external javascript file let say script.js and one <div> tag in HTML file. for example <script src='script.js Full Path'></script> ...
-1
votes
1answer
46 views

Datepicker does not insert a date

I've run into a tricky problem it seems. I've got two input text fields that i've turned into datepickers. However when i pick a date the date does not transfer into the textfield. The calendar shows ...
0
votes
0answers
8 views

Deploying MVC 3 website on Windows Server 2003 with Windows Authentication

I have deployed an MVC 3 website on IIS of my Windows Server 2003 edition. I have set the authentication to Basic, Integrated, and Windows in order to enable site to use Windows authentication, and ...
1
vote
0answers
18 views

An asynchronous operation cannot be started at this time Exception occurs on calling webservice in mvc?

In my ASP.NET MVC 3 project I'm calling a web service for login authentication. But it throws an exception: Exception Details: An asynchronous operation cannot be started at this time. ...

1 2 3 4 5 2291
15 30 50 per page