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

1
vote
3answers
39 views

LINQ Combine two tables

Currently I have 2 database tables which looks like: --------------- -------------------- | Categories | | Item_Categorys | --------------- -------------------- | id ...
0
votes
0answers
22 views

How to get child Kendo Grid reference?

I have a Kendo Grid as listed below. There is checkbox in each parent row. On a button click, I need to get the child grid of all parent rows for which checkbox is checked. How can we do that? ...
0
votes
2answers
24 views

URL Pattern Routing MVC 3

I want to know how to have something like this in the url in asp.net MVC /Article/12.20.2013 I tried below and its working fine for /Article/12-20-2013 but not for /Article/12.20.2013. I have below ...
0
votes
1answer
14 views

How to open an exe on local pc from a link on a web page hosted on a server in C#? [on hold]

I got a web site with a link which should open a application on local PC. It works when I run the website on my local PC but does not work when upload the same code to the server. I am using the ...
6
votes
1answer
48 views

Autopopulating data from the server to a textbox using jquery

I am developing a MVC application .net. I have a textbox called "Products". I have to autopoulate the textbox with the list from the server using jquery and ajax Here is the code: ...
4
votes
3answers
56 views

Linq expression to filter an a list of entity's collection, and maintain list of entities

Lets say we have: public class Foo { public long Id { get; set; } public string Name { get; set; } public ICollection<Bar> { get; set; } } public class Bar { public long Id { ...
0
votes
0answers
10 views

Windows Azure SDK not found by Visual Studio 2012

Following the Windows Azure tutorial for deploying an ASP.NET MVC app. http://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-database/ ALSO NOTE: The following is a version of ...
0
votes
0answers
27 views

@Html.CheckBox(“IsMACUnique”,new { @checked = “checked” } )

I have the following inside my asp.net mvc view:- @Html.CheckBox("IsMACUnique",new { @checked = "checked" } ) But if the user check the checkbox the value will be posted back as "true,false".I ...
0
votes
1answer
14 views

javascript malformed objects send to aspmvc app

I tried to create an object in javascript, I have my code that creates my object based on the user interface. function skill(name,level){ this.name= name; this.level= level; } I create a ...
1
vote
2answers
33 views

@Html.Beginform() not rendering properly IE7-8

I have a HTML form which is in a partial that is loaded via jquery.load(). My partial looks something like this: @Html.BeginForm(null, null, FormMethod.Post, new { enctype = "multipart/form-data", ...
6
votes
6answers
58 views

Reusable way to allow an account to be used by a single person at a time

I made a functionality that prevents multiple-login for one username at the same time and I call it in Actions like this: int userId = (int)WebSecurity.CurrentUserId; if ...
1
vote
2answers
37 views

Format model's display date

I have a model that has a Date property. Currently the dates are displaying both the date and time like 3/12/2012 12:00:00 AM but I would like them to just be the date like 3/12/2012. I have attempted ...
0
votes
1answer
18 views

Can I use Ninject to inject dependencies into attributes rather than using the service locator pattern?

I'm using feature flags to selectively enable/disable certain aspects of my MVC4 web application in different environments. I have an interface named IConfiguration with a IsEnabled(FeatureFlag) ...
2
votes
1answer
40 views

Create a HotTowel site with login (facebook, twitter, google, microsoft)?

I am creating the site using the following steps. Create a Asp.net Mvc 4 web application with standard "Internet application" template. So the login code is created. Then update all referenced code ...
1
vote
2answers
34 views

I can't wrap my ADO.NET Entity Model instance in a using statement here?

I have an ASP.NET MVC WebAPI project, and I have an entry point to get one survey by ID. public IEnumerable<Models.SurveyQuestionViewModel> GetSurveyById(int id) { using (ITSurveyEntities ...

1 2 3 4 5 4335
15 30 50 per page