1

My project contains two different sections.

  1. Quote and

  2. 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 create the view, the TextboxFor<> option(intellisense) is not coming but Textbox option is showing in razor view.

Do i need to include anything else or do we need to change some mapping/routing?

Please help me with this issue?

Note: This is a asp.net mvc3 project

tereško
  • 58,060
  • 25
  • 98
  • 150
PaRsH
  • 1,320
  • 4
  • 28
  • 56

1 Answers1

1

You need to copy the webPages section from the standard Views\Web.config to your new Views folders.
This section configures the WebPages framework to use MVC's view base type & helpers.

In the future, you should use MVC's built-in Add Area menu item, which will do this for you.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964