1

I'm trying to use the @section within a partial view so that what is included is only in one file. Will this work? This approach doesn't seem to render anything.

Kirby
  • 1,739
  • 1
  • 17
  • 21

1 Answers1

0

No. It doesn't work. You have to use it in the base .cshtml page.

Scottie
  • 11,050
  • 19
  • 68
  • 109