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?
Asked
Active
Viewed 873 times
1 Answers
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
.

Community
- 1
- 1

Nathan Anderson
- 6,768
- 26
- 29