Questions tagged [asp.net-mvc-3-areas]

ASP.NET MVC and its related flavors since 2007 by Microsoft. It has come up MVC4 and it's still evolving. It allows to build applications based on Model View and Controller. It can integrate with View Engines such as Razor, Spark, etc.

  • JQuery Integeration, Fluiq Integeration
  • MVC Challenges in integration
  • View Engines
  • MVC related Patterns
163 questions
1
vote
1 answer

Area in MVC3- RedirectToAction is not working as expected

I have an area called coverage.The routing is like context.MapRoute( "CoverageSummary", // Route name "Coverage/Summary/{policyId}", // URL with parameters new { controller = "Coverage", action = "Summary",…
Kuttan Sujith
  • 7,889
  • 18
  • 64
  • 95
1
vote
2 answers

Routing - Area Controller/View with parameter

Super simple MVC site with an Area to handle mobile devices. All of my Area routing works fine with the exception of a view that expects a parameter. In the "normal" site I have a view video page that expects a…
SteveInTN
  • 99
  • 15
1
vote
1 answer

MVC 3 AREAS - Hierarchial workflows

For the project that I am working on, we have companies. Companies have contacts and facilities. Based on the business rules, the flow is you select a company to access the contacts or facilities. EDIT: Entities are companies, facilities and…
Omnia9
  • 1,563
  • 4
  • 14
  • 39
1
vote
1 answer

How to enable gracefull fallback to "root" controllers if controller is not found in area

I have an ASP.NET MVC3 Razor application getting too big to manage effectively. To have better control over the code I implemented Areas and re-arranged the code to be in the respective areas. Things that are used from multiple areas are left in…
nttakr
  • 1,637
  • 15
  • 25
1
vote
1 answer

Having a single _viewstart and web.config when using areas

Is it possible to have a single _viewtstart.cshtml and web.config file when using areas in MVC3. I'm finding that I need to have the _viewstart.cshtml and web.config replicated in every area. This seems rather daft especially with the _viewstart…
Gaz
  • 1,249
  • 3
  • 19
  • 37
1
vote
0 answers

Displaying a PDF content in ASP.NET MVC View in IE 11

I want to show a PDF in a MVC view. The PDF content comes in form of a base64 string from business layer code. For example string imagestring="Some base64 string"; Model.ImageData = imagestring;// A string property in model In the view I…
1
vote
0 answers

kendoGrid mvc3 c# pop up grid window possible?

i have a kendogrid view with a popup window which display the attributes of my kendo i want to display my popup window in a grid form is that possible to use kendogrid ui also in may popup window or not?? there is my kendo grid: …
ODE
  • 285
  • 5
  • 22
1
vote
0 answers

MVC Area and controller with the same name

I am working on MVC3 application. My folder structure for the application is: Areas Admin Controller AdminController The AdminController has an EditUser method. To go to this method, I have to use the following…
TK1
  • 396
  • 2
  • 7
  • 20
1
vote
1 answer

Can we have different folder structure for mvc application?

My project contains two different sections. Quote and ProductSale I have created A folder called Areas in Web project and Created two subfolders Quote and ProductSale. Each subfolders has the Model, view and controller in it. When i tried to…
PaRsH
  • 1,320
  • 4
  • 28
  • 56
1
vote
1 answer

Security Exception in MVC3

Hi I met the following problem when achieve a function "send an email to members" in my membership application. I did some research and add
1
vote
0 answers

ASP.NET MVC3 Data is not getting loaded to the JQGrid

This is My Controller Method public ActionResult GridData(string sidx, string sord, int page, int rows) { var jsonData = new { total = 1, //todo: calculate page = page, …
1
vote
1 answer

custom error page for exceptions in mvc c#.net

I have been searching for articles where i can customize my error page depending on the exception in my aplication.I tried the below method public class ErrorController : Controller { public ActionResult Index(int status, Exception error) { …
codespider
  • 81
  • 5
1
vote
2 answers

How to assign a query string in a controller?

Using MVC 3 Asp.Net, I would like to add a default Query String on any method in a controller. Using the following code I get an error at line ... QueryString.Add(): Collection is read only. Any idea how to fix it, or do you know a better way how…
GibboK
  • 71,848
  • 143
  • 435
  • 658
1
vote
0 answers

Deploying MVC3 Areas (Admin) Separately without modifying the client content implementation

I have web application let us say "client" where contents are controlled by CMS (using MVC3 areas). Both applications are in the same project and the same solution. We just added area for CMS. The CMS or admin area has upload image functionality…
Jobert Enamno
  • 4,403
  • 8
  • 41
  • 63
1
vote
1 answer

script inside Razor, unable to correct using @:

I get compile error at $(this).id)