0

Hi I am having an issue adding addition css styling to an existing class when the page loadsfor MVC razor view engine. Can anyone please help?

User4179525
  • 516
  • 1
  • 4
  • 18

1 Answers1

1

The Page.Header property (and the Page class as a whole) is a WebForms concept and not available in the Razor. You can add additional elements to the head of a page using sections or even the ViewBag.

ASP.NET MVC explanation of @section

Community
  • 1
  • 1
Nathan Anderson
  • 6,768
  • 26
  • 29