Questions tagged [areas]

77 questions
0
votes
1 answer

ASP.NET MVC 2 Areas, Strange routing behavior

I've created an Area named "Admin". I've created also a controller(Pages) and a view(List) in this areas. When I run my app and enter the url "/Admin/Pages/List" I'm getting an The resource cannot be found error. When I enter /Pages/List, the Action…
user137348
  • 10,166
  • 18
  • 69
  • 89
0
votes
1 answer

use different name in area url in mvc

I have created a area named "User" in my mvc project. So now i can access that area using the url mysite.com/user. Now can i change the name of the area in url ? i want to access my area using the url mysite.com/admin I can do this by changing the…
0
votes
1 answer

How do I create clickable areas on an image within a webpage with javascript?

I want to create a webpage displaying an image that has areas on it that can be clicked to do various things like playing sound, displaying text, linking to other pages. The only problem is I have no idea what I need to use within javascript to do…
Callum.W
  • 17
  • 6
0
votes
1 answer

How to enumerate Areas in ASP.NET MVC 2 RC

My controller has to enumerate all the areas in the application. Is it possible? And how?
Anthony Serdyukov
  • 4,268
  • 4
  • 31
  • 37
0
votes
1 answer

How to Decarote Url in asp.net MVC , so that Url identifies Which UserType is begin accessed

I am currently working on an asp.net mvc application with three UserTypes. 1) Admin 2)School 3)Parent I want to Decorate the Url With 3 parts , like if it is admin then -> Admin/{Controller}/{Action}/{id} if Shcool -> …
0
votes
1 answer

ASP.NET MVC 2 Areas and AfterBuildCompiler

I am just trying out Areas in ASP.NET MVC 2 and I've hit a small issue. I've added the appropriate lines to my project file:
Fenton
  • 241,084
  • 71
  • 387
  • 401
0
votes
1 answer

Help with jQuery Grid in an ASP.Net MVC 2 RC with areas

I've followed Phil Haack's demo of jQuery Grid successfully in an mvc 2 rc project without areas. Now I'm trying to implement the same code in an areas project but the data is not being passed to the grid. The jquery grid url property from the demo…
Jim Schmehil
  • 6,881
  • 2
  • 15
  • 6
0
votes
1 answer

How do I get Absolute Root Links in ASP.NET MVC 2.0 beta Areas?

The link for logging in looks like this: <%= Html.ActionLink("Log On", "LogOn", "Account") %> which yields the following link in the browser: http://localhost:2300/Account/LogOn However, if I switch to an Area, such as Content, the Login link now…
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
0
votes
2 answers

MVC 2 Beta DefaultControllerFactory with Areas

Why default factory WON'T return full name of the controllers (with namespaces)? I'm using Service Locator and autofac. using System.Web.Mvc; using Microsoft.Practices.ServiceLocation; namespace Application.Core.MVC { public override…
stoto
  • 364
  • 1
  • 4
  • 10
0
votes
2 answers

ActionLink in Partial when Partial is rendered in an area

I use a partial to render a culture chooser control. The control is stored under ~/Views/Shared/Control.cshtml. There are three actionlinks in the control for three different languages. @Html.ActionLink("English", "ChangeCulture", "Home", new {…
Frank
  • 55
  • 1
  • 5
0
votes
2 answers

Fit More Widgets on Wordpress Footer

My theme shows that I can fit up to 4 widgets in the footer as shown in the demo site here: http://demo.woothemes.com/?name=simplicity But I can only fit 2 on mine when I'd like to have 3. Here's my site for my…
0
votes
1 answer

Configuring Odata with Web Api Areas

I have a working web application configured to use Web Api together with areas. I have 2 areas, Admin and Client. This means, to target a controller I have to call the url like this: /xxxWebClient/api/1.0.0/projectid/Products and everything works…
Mirko Lugano
  • 975
  • 1
  • 11
  • 26
0
votes
1 answer

Explicit Backlog node, or root node as backlog node?

Is there any reason to prefer an explicit Backlog area or iteration node in TFS, instead of just using the root node? Does this improve the function of any of the reports or anything? Do either of them them offer easier managability? I've seen this…
bwerks
  • 8,651
  • 14
  • 68
  • 100
0
votes
1 answer

MVC3 Routing areas to root using namespace

I have a project with two areas. The two areas allow for different member types who don't share any controllers or views (eg student and teacher). However they both share the root controllers for Contact and Support pages etc. Currently I use the…
Steven Trigg
  • 1,903
  • 2
  • 19
  • 22
0
votes
3 answers

How to make a clickable areas in a map image with each province doing a different action?

I want to make an Android app where you see an image of a Dutch map, there you can select an province. Each province has to go to another class. The best way i found was to do it with 2 images, 1 you displayed and the other one exactly the same but…
Marvin
  • 35
  • 2
  • 6