ASP.NET MVC 3 is the third major version of Model-View-Controller extension for developing web applications in a .NET framework.
0
votes
2answers
15 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
24 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
30 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
0answers
31 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
5 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
16 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
votes
0answers
11 views
Table remove but entity is not removed in MVC3
When I remove table from database entity is not removed, Is it
possible in MVC3 ?
0
votes
0answers
9 views
getting back button to load first page in ajax navigatied application
I'm having trouble figuring out how to use the back button to reload the first page in my application. I have the same problem when using both history.js and jquery.bbq libraries so I'd really like a ...
0
votes
2answers
24 views
ASP.NET MVC what is available for building GUI Controls [closed]
What other third party controls are available for ASP.NET MVC 3 or MVC 4?
I have used ExtJS for MVC which is purely javascript, but is there something better with more richer interfaces?
Does ...
0
votes
0answers
12 views
Scaffold Create and Edit Views with Dropdownlist in MVC
I have a MVC3 application that populates a selectlistbox from a Model. When I select an item from the list , i would like to Update the url ('/Edit/4') on a single 'edit' link which will allow me ...
0
votes
1answer
29 views
RedirectToAction in MVC3 returns “No route in the route table matches the supplied values”
I use this log in controller :
public ActionResult Index(LoginModel model)
{
if (model.usernam == "usernam" && model.password == "password")
{
return ...
0
votes
1answer
16 views
Possible error in call to routes.Redirect
I am learning mvc3 the model views and controllers and now I am learning about routing in the global section, I came across this tutorial which had map routes in this form.
var route = ...
0
votes
0answers
15 views
Routing all requests for different domains to different folders on the same root
I posted a question up yesterday basically I have a single plan with winhost and I want to be able to have multiple domains (that are all pointed at my root) go to different subfolders and in these ...
1
vote
1answer
12 views
301 redirects and matching old maproutes to new ones
I have 2 websites an old one called www.old.com and a new one called www.new.com . The old url has a 301 permanent redirect to the new website, but the new website has a different maproute so ...
0
votes
0answers
30 views
MVC3 Application Trying to Use Code Migrations After Deploy
I am having problems with my application attempting to create a table after I published changes.
I added some new tables, controllers, views, etc. Pretty standard stuff.
I initially built this in ...