ASP.NET MVC 4 is the fourth major version of the ASP.NET Model-View-Controller platform for web applications.
0
votes
1answer
3 views
In C# Code first membership provider package, MembershipProvider could not be found error. Reference missing?
I created project with name Sorama.CustomAuthentication in that project I installed a package called c# CodeFirst Membership Provider via nuGet package manager.
You can see the reference that has been ...
0
votes
0answers
5 views
IIS Hostable Web Core host ASP.NET MVC
How can i self host my asp.net mvc website inside c# console application or windows service using IIS Hostable Web Core
I tried to using this sample: ...
0
votes
0answers
9 views
add up all rows that meet a certain condition in mvc
In MVC 4 I want to sum all the products that have been dispatched, and all products that are still in stock and then display these figures in a view. What is the best way to do this i.e. in an index ...
0
votes
0answers
7 views
WCF Service Reference
I created a WCF service that works perfectly when I go to http://localhost:52099/MyPagesWS.svc
Then I create a test project and add Service Reference with name ServiceReference1 to that url. When I ...
0
votes
1answer
27 views
ASP.NET MVC 4 - Alternative Render based on request
Trying to implement a system whereby a developer would create a cshtml Razor view as per usual (e.g. a series of @Html.EditorFor(t=>t.MyProperty) calls interspersed with markup etc.) but based on ...
0
votes
0answers
13 views
Microsoft JScript runtime error: Object doesn't support property or method 'jqGrid'
while trying to load data from sqldatabase to jqgrid, on debugging the code the error popups saying
"Microsoft JScript runtime error: Object doesn't support property or method 'jqGrid" and does not ...
1
vote
0answers
14 views
Invoke parameter constructor from Razor view
I have a view that I have listed below.
When I post the form, the default constructor of Organization is getting invoked.
However, I want another constructor to be invoked which takes a Party object.
...
0
votes
0answers
19 views
Web Api won't download file using jQuery Ajax and Basic Auth
I am using the ASP.NET Web API to build a prototype of a web service (and site) which has a method to download a file. When the user on the front-end presses the export button a jQuery ajax GET ...
0
votes
2answers
37 views
ASP.NET MVC: Cannot use a lambda expression as an argument to a dynamically dispatched operation
I have a ASP.NET MVC4 Application.
My view get a List from my controller.
I want to select these list with lambda expression but I get the following error:
Cannot use a lambda expression as an ...
0
votes
1answer
15 views
Setting selected value of a Select using JQuery from an MVC model property
I am am filling a dropdown using Ajax
$(document).ready(function() {
var ID = $("#ID").val();
fillDropdown(ID); //fills the dropdown via an $.ajax call
var anotherID = ...
0
votes
1answer
28 views
The values in the model dont pass to controller
I am uploading file using jquery and passing three parameters to controller. I can pass 1 of the parameter and other 2 parameters are selected from dropbox. 2 parameters from the drop box does not ...
0
votes
2answers
24 views
MVC 4 authentication with Activ Directory or Membership database
I´m building a web application which could get accessed on two ways. Everyone who is working in the same organisation as I should can use our active directory to access the application.
Everyone ...
0
votes
1answer
16 views
Highlight the active tab for html mvc 4
How do I highlight my active tab in navigation? I have been trying it different ways for hours but none is working right. I know there are some ways to do it like using active, selected and etc but I ...
0
votes
2answers
20 views
MVC 4 : Controller not found says WindsorControllerFactory
I have this class WindsorControllerFactory which inherits from DefaultControllerFactory
public class WindsorControllerFactory : DefaultControllerFactory
{
private readonly IKernel ...
1
vote
1answer
21 views
ASP.NET MVC 4 HttpClient() issue
I'm currently working on an ASP.Net MVC 4 application that uses PayPal to process credit card transactions. I've gotten most of everything setup with the PayPal RESTFul API and for some reason ...