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 (6) | asp.net mvc jobs

0
votes
0answers
2 views

Render multiple strongly typed partial views inside a view?

I have this Index.cshtml class: @{ ViewBag.Title = "Index"; } <div>@Html.Partial("ListServices")</div> <div>@Html.Partial("ListProducts")</div> ...
1
vote
2answers
18 views

Passing value into an entity by direct string reference

I know it sounds a bit foggy so ill provide coded explanation. Lets say I have an entity: public class Times { public int TimesId { get; set; } public int DateRange { get; ...
0
votes
1answer
22 views

DateTime formatting error in the MVC view

I am developing MVC app. I am trying to format the date in view. In one statement it working fine , but in another statement showing the error. Below statement work fine. ...
1
vote
1answer
9 views

Where call InitializeDatabaseConnection when clientCredentialType=“UserName”?

In a MVC4 app, I use the SimpleMemberShip as auth database. The security model is: <binding name="SecureBasicBindingWithMembershipConfig"> <security ...
0
votes
0answers
8 views

kendo chart: Not responsive

I am making an application in MVC. I am using kendo charts for statistics. Everything i used with bootstrap is in responsive manner except kendo charts. See what happens on narrow screens- I tried ...
0
votes
0answers
16 views

i have been trying to implement custom login where i'll be updating the password but db.savechanges isn't working with my code

public ActionResult ChangePassword(ChangePassword model) { if (ModelState.IsValid) { UserDetail ud = db.UserDetails.FirstOrDefault(s => s.UserName == User.Identity.Name); try { ...
1
vote
2answers
17 views

Refresh partial view with multiple parameters

Hi I am trying to refresh partial view with multiple parameters. I have got it to work with one parameter. How can I get it to work with more than one parameters. Here is the code, I have got so far. ...
2
votes
0answers
19 views

Connect android application to asp.net mvc back-end

I'm currently working on an mvc project meant to keep scores for students on certain sporting events, we are using a context class to create database tables code first into an existing database, the ...
2
votes
2answers
45 views

Different results for actionresult

I'm creating a game using MVC 4. There is a crime feature and I just can't work it out. I've tried a lot of things but since I'm new on MVC4 I just can't figure it out. I have created a radiobutton ...
1
vote
1answer
20 views

Single page apps keeping client and server in sync

I am trying to understand how single page apps spa's work. My understanding of a spa is that you load the data on start-up and you use ajax calls for save etc, and the whole idea is that your models ...
0
votes
0answers
11 views

Deploying a Solution with multiple projects on IIS7 - Missing DLLs

I'm trying to publish a solution that contains several projects -one of them is MVC- to IIS7. When the MVC project is published and some views are being accessed I get the following error: Could ...
0
votes
0answers
14 views

how to upload multiple images in Database using asp.net mvc3

I am new to M V C. I have a task that, I have to upload the multiple images in the sq l table using asp.net M V C 3(Razor). Also have an preview of the uploaded image. All the function have ...
0
votes
0answers
7 views

Apache2 Mod_mono Ubuntu

Mod_mono is not serving up pages, if I go to the url it just downloads the page rather than serve it. Here is my virtual host file. Everything else is default setup all I have done is enable mod_mono ...
0
votes
1answer
9 views

Setup the Correct Path of elFinder for Web Hosting (IIS 7+)

i have used elFiner in my project (with elFinder Connector) and works great on localhost. But when i deploy it to the server (online hosting), It gives me an error target dir not found or access ...
0
votes
3answers
28 views

DropDownListFor not selecting selected

I have a dropdownlistfor which lists selectable dates. I want to pre-select a certain date but even though it's marked as "Selected" it doesn't show as the selected when looking at the dropdownlist. ...

1 2 3 4 5 3917
15 30 50 per page