4
votes
0answers
281 views

Application_Start does not respond to RegisterAllAreas()

I'm new on MVC Application, please help me. I have an Application on Visual Studio 2012 using Framework 4.0 on a Windows 7 pc and I'm debugging in IIS Express. Starting debugging, my application ...
3
votes
0answers
91 views

How can I update related tables?

My project involves creating a new hotel room and 2 tables in my database will update. My tables are called RoomType and RoomFacility. I can successfully update RoomType, but when I try to update ...
3
votes
0answers
78 views

Extend Razor Partial View from nopCommerce plugin

I'm working on a nopCommerce plugin project. nopCommerce is build on MVC4 using Razor Syntax. I need to extend one of the partial view from plugin/extension I'm building. However, I can't think of ...
2
votes
0answers
199 views

MVC4 Simple Membership authentication with multiple databases or providers

I'm working on an MVC4 site using SimpleMembership to handle user accounts and role based authentication. We have another site and we'd like to implement a single sign on system allowing users from ...
2
votes
0answers
227 views

Font Awesome does not work in Firefox when optimized and CDN

I am using Font Awesome in my ASP.NET MVC 4 project as a UseCdn bundle: bundles.UseCdn = true; bundles.Add(new StyleBundle("~/Content/fontawesome/css") ...
2
votes
0answers
210 views

How to handle jQuery event on an ASP.net MVC Ajax loaded page?

i've got an issue. I'm a newbie in the world of jQuery Mobile, and with the ASP.Net MVC part I'm a little bit lost. Here is my problem: In my mobile web site I want to change the navbar (that I use ...
2
votes
0answers
118 views

One to many relationships using Web service & local database MVC view

I am currently working on an assignment at university from which I unfortunatly lost some code to not long ago. In particular it is where I have specific products display to a specific store, the code ...
2
votes
0answers
162 views

Add values to ModelMetadata.AdditionalValues when using EditorFor

If I have a convention to change the editor and set some values public class MetadataProvider : DataAnnotationsModelMetadataProvider { protected override ModelMetadata ...
2
votes
0answers
309 views

SignalR client disconnect/connect on every refresh of pages. ASP.NET MVC

I am creating a chat embedded in my asp.net mvc 4 project. I have an online users ul list wich add a user on OnConnected and remove it on OnDisconnected. So, my app doesnt are a SinglePage app, wich ...
2
votes
0answers
473 views

The name 'Url' does not exist in the current context

I created MVC 4 project, and got this error on the following string: <span>@Url.RouteUrl(route)</span> My Web.config part: <pages> <namespaces> <add ...
2
votes
0answers
75 views

Different behavior between SessionTempDataProvider and CookieTempDataProvider

The short version of all this is that I'm using TempData to store feedback messages and after switching to using CookieTempDataProvider they don't show up when using the a PRG pattern, but if I revert ...
2
votes
0answers
161 views

RenderAction and Partials with output caching

I am currently setting up my mvc4 web application and have a question regarding using Partial views and Render Action. If I apply output caching to a controller action method, will that save a ...
2
votes
0answers
126 views

Does the UserName field have to be unique to work properly with ASP.NET MVC's SimpleMembership?

I am making an app using ASP.NET MVC 4 and Entity Framework with Code First migrations. In the class called InitializeSimpleMembership, there is the following line of code: ...
2
votes
0answers
119 views

Circular Reference Error when trying to get column names from linq to sql

I am using asp.net mvc 4 to get the column names of a linq to sql model using the following code in my controller: var dataContext = new OrdersDataContext(); var columnNames = ...
2
votes
0answers
270 views

ActionExecutingContext - ActionParameters vs RouteData

Given the following code: public class MyActionFilter : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext) { var a = ...

1 2 3 4 5 57
15 30 50 per page