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
3answers
24 views

MVC DropDown from DataBase

public class DropDown { public string[] SelectedItems { get; set; } public IEnumerable<SelectListItem> Items { get; set; } } Am trying to get a DropDown in MVC from DB with above ...
0
votes
0answers
7 views

AlloyUI with ASP.net MVC Anyone?

Has anyone used AlloyUI with ASP.net MVC 4.0 ? Found this UI library very useful. I'm planning to use it in an enterprise class application. Though the library looks great, I'm not finding any ...
0
votes
0answers
8 views

Model State Errors (or) Custom exceptions of a certain type

I have an application ASP.NET MVC with JQUERY application that throws 4 kinds of errors Unhanded exceptions (400, 403,500 503 etc) - throw generic exceptions NOT SEVERE Expected exceptions/ errors ...
0
votes
3answers
29 views

Transferring javascript from a view to a seperate JS file

I am working on a legacy application and I want to move some JS code onto a separate JS file. I will have to refractor some of the code to do this. I can put @Url.Content statements into data ...
0
votes
1answer
8 views

Asp.net mvc Web-Api Checking checkbox all for Delete all data showing 500 error

I am trying to delete all records with checking all checkboxed values. but it is throwing 500 internal server error. //delete all menu function performalldeletemenu() { if (confirm('Are you sure ...
0
votes
1answer
33 views

How many if conditions should I use in Razor View Engine MVC3?

I used too many IF conditions in my MVC3 Razor view - almost 230 if conditions on this View page (http://www.cpusort.com/Cpus/Intel-Core-i7-3770K-vs-AMD-FX-8350)to compare two or more values. The ...
0
votes
1answer
18 views

MVC : Routing route value acting strange?

I have a viewmodel which looks like public class BusinessUnitDetail { public Guid Id { get; set; } public string Name { get; set; } public LicensesDetails LicensesDetails ...
0
votes
0answers
18 views

Using parameter map to pass data to controller

im using the new scheduler and I do not know how to pass the parameters from making an appointment to a controller to update my database. I think it has to do with the parameterMap but even if i ...
0
votes
3answers
43 views

How do I make MVC to sign out a logged in user?

I understand that when a user logs in to MVC webapp (when runtime executes FormsAuthentication.SignIn(..)), that user receiver a cookie and continues to work with the site with that cookie. However ...
1
vote
1answer
23 views

How do I pass variables to a custom ActionFilter in ASP.NET MVC app

I have a controller in my MVC app for which I'm trying to log details using a custom ActionFilterAttribute, by using the onResultExecuted method. I read this tutorial to understand and write my own ...
1
vote
1answer
21 views

How to Change DBContext with ObjectContext

In EF 4,when i Generating model from database, classes generating with DBContext and i have problem with this.i want to generating them with ObjectContext. This model using in ASP.NET MVC 3 project. ...
0
votes
0answers
9 views

Ajax Request Error when application Deployed to IIS7

I've deployed my MVC project application to IIS 7, and it seems to work fine till I execute an ajax request with the following format: $.ajax({ type: 'POST', url: ...
0
votes
0answers
22 views

How can I change the column header of a complex type in MVC?

I have a Person class that has the following properties [DisplayName("Born")] public virtual Country Born { get; set; } [DisplayName("Lives")] public virtual Country Lives { get; set; } The Country ...
0
votes
1answer
17 views

Javascript is not loaded after location.href

I've got this ajax request. Basically it downloads a file (after redirect to this page). $.ajax({ url: '@Url.Action("IsFileSetForDownload", "UserLogin")', success: function ...
1
vote
3answers
31 views

ASP.NET MVC 4, List Course and Language on same View

I have a simple view, without any Model in it, I want to display all course on it from course table and language list from languages table. both table are not connected to each other, in webform we ...
0
votes
1answer
24 views

At what point in the .NET Pipeline do Bundles get written in to the HTML? - MVC 4

I've got an application that Bundling works fine on, however I have to go and demonstrate the application away from our network, so I'm transferring it to a VM on my laptop. On my laptop The bundles ...
0
votes
0answers
23 views

MVC WCF example working diff in debug mode and w/w debog mode

I'm new to this forum so I apologize if I'm asking this question in the wrong forum/section. I've been following the example shown by Balimusi at the CodeProject site ...
0
votes
3answers
32 views

Introducing increment variable in view

In my view I want to introduce a variable of type int which will be used in foreach loop. The main idea behind is I want to use it as serial number for the rows of table. This is what I have now @{ ...
0
votes
0answers
12 views

How do we fix a Operation that must use an updateable query in aspx

Good day everyone i would really appreciate it if anyone can help me because im bein struggling to get this to work now for two days ive went on forums but no luck Ive created a a Register form in ...
1
vote
3answers
46 views

ASP.NET MVC 4, Partial View

I want to display 4 different lists from 4 different tables, I created a Partial View for 4 tables in their respected controller, but its not getting rendered, its giving an error; The model item ...
1
vote
1answer
42 views

javascript location href not working on jquery ajax post

I have the following issue: I make a jQuery ajax post and, on success, I need to change the location of the browser to an Index view. This is the javascript: $.post(CreateReleaseNotificationURL, ...
0
votes
0answers
7 views

Web-Api Ajax Call delete Method with Parameter 404 Error

I am using Web-Api Ajax call to Delete the operation I am passing parameter of Guid Type with that function, and it is throwing 404 error. but if i am passoing parameter of Model Type with that ...
0
votes
1answer
8 views

Could you anyone recommend me proper open source toolkit to apply lean start-up principles for my ASP.NET MVC project?

I've read the book 'The Lean Startup' of Eric Ries. I have some websites running today, and I'm looking for some nice solution or NuGet package can be easily attached for my website. Lean startup ...
0
votes
1answer
16 views

URL Routing Categories and Sub-Categories

I've searched a long time for a resolution of my problem but I didn't found one.. I think, I'm not the only one who has this task and hope for an answer. My website stores products.. many products. ...
0
votes
0answers
15 views

What is the best way and best place to implement Audit module for my asp.net mvc web application

I am working on an asp.net mvc intranet web application, and I am using entity framework as the data access layer. From my previous experience in client-server I used to implement Audit as triggers ...
-1
votes
0answers
18 views

Migrating an Ext.NET + ExtJS project to pure ASP.NET + ExtJS

I have a pretty big MVC project written in Ext.NET + ExtJS. My assignment is to migrate the project so that it is no longer dependent on Ext.NET. I am an entry-level programmer with about 6 months of ...
0
votes
2answers
32 views

how to use mvc4 model value in knockout viewmodel js

I am using Knockout with ASP.NET MVC here is my View which is populated by MVC controller HTML <html> <input type="text" data-bind="value:Name" /> <script ...
0
votes
1answer
28 views

Should I have each ViewModel for each entity in my ASP MVC project?

I have read many by many solution but i can't understand deeply about what or when i use View Model? For example, when i have a Register form for User to register, i want to hava an field Confirm ...
0
votes
1answer
34 views

Possible to add partial view into a pre-rendered partial view in MVC3/4 within browser request?

I am currently facing an issue about adding dynamic partial view into a partial view which is pre-rendered. Situation: I have a view which contains a partial view (contains nothing initially, lets ...
-10
votes
1answer
33 views

How to prevent download video from internet download manager software? [on hold]

How do I prevent the download of video from internet download manager software?

1 2 3 4 5 2172
15 30 50 per page