The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern. The latest release of the framework offers REST-style web services development capability, also known as Web API.

learn more… | top users | synonyms (4) | asp.net mvc jobs

0
votes
0answers
13 views

How can I run events in the aspx page and not server side?

On the ASPX page alone, is there a way I can use a selectbox to run MVC code without being able to access the compiled server code? The client does not have access to this code so I am trying to do ...
0
votes
1answer
24 views

Passing a form id to a function and submitting it within the function

I want to be able to pass a form id to a method which then has code to submit the form to whichever action url that form has. Here is the code for one of the forms @using ( ...
0
votes
0answers
22 views

Entity Framework with existing database - neatest approach?

I have an existing database. To get rid of the 'context has changed since the database was created' exception that occurs with an existing database, I call the following in the Application_Start() of ...
0
votes
1answer
22 views

Calling controller function from within view/javascript

In the past I have successfully executed my ASP.NET MVC controller functions within my view in javascript using ajax, but for some reason in this case it isn't working... My code is set up as ...
0
votes
1answer
18 views

Saving b64 encoded string to file in ASP.NET and javascript

I have a scanner which scans a fingerprint. The scanner is connected to an iphone which displays a webview of my website. The scanner returns everything perfect but the only part I am currently having ...
0
votes
1answer
18 views

How to create C# MVC model XML element with attribute and value

I have a c# MVC model which I would like to serialize to an XML document to look like this: <Vehicle> <Type color="red" speed="50mph">Ford</Type> <Type color="blue" ...
0
votes
1answer
21 views

Not including area name in URL results in “The view 'Index' or its master was not found” instead of 404

When I use this URL: http://www.domain.com/Dashboard/Admin/Index My page works as expected. Dashboard is an MVC Area, Admin is the controller and Index is the view. If I remove the area name, like ...
0
votes
2answers
17 views

Parameter for “Delete” post method has blank attributes in ASP.NET MVC

I'm having an issue in my MVC application (for making basic CRUD changes to a database) where the object parameter getting passed to my "Delete" post method has blank parameters, even though the ...
1
vote
0answers
15 views

Reusable method for paging datasets of differing types in ASP.NET MVC

I have various data models -- let's called them Account, User, and Order. (Ultimately there are many more.) I have views that will display a list of Account objects, User objects, or Order objects. ...
0
votes
0answers
13 views

Asp.net mvc bundle. Combining works well. But compressing and minifying not working

All of my javascript and css combined. But when i'am looking they arent minified. I dont know why. My bundle is shown below: bundles.Add(new Bundle("~/bundles/jqueryval").Include( ...
0
votes
0answers
13 views

Correct fix for 404 error? .net 4.5 MVC error loading web service URL

Using VS2012 I get a 404 error after clicking the "Invoke" button of a basic web service page (webservice.asmx). I googled about and found many references to configurations in web.config and/or IIS ...
0
votes
1answer
21 views

RegularExpression DataAnnotation to validate Html tags

This regular expression validates html tags that include attributes could someone correct this code to work in C# RegularExpression. The problem with this expression is the quotes it stops at the ...
0
votes
2answers
26 views

ASP.Net MVC verses WebAPI loading of initial Angular model

I have finished a few MVC partial views which load their data using calls to a webapi Get method, to preload the data used by the angular controller. This method works but it feels more logical to do ...
0
votes
0answers
5 views

kendo ui bar chart with grouped columns

I need to show bar chart with grouped data.Data is bounded to chart is as follows: Refer attached file. With above markup and data, the chart should display 3 values "Warning", "CriticalError" and ...
2
votes
1answer
23 views

Retrieving object from database issue

This has been bothering me for the past hour, and I cannot find out what exactly is going wrong. I am trying to retrieve an object from our database along with several other objects (which return ...

1 2 3 4 5 4406
15 30 50 per page