Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have seen the code project article here


[^]

But it's unable to solve my error ....... how to solve this error

The name 'HTML' does not exist in current context
Posted
Comments
[no name] 18-Mar-14 12:59pm    
What you did? And Where is it HTML missing just show here then anyone can help you
[no name] 18-Mar-14 13:03pm    
I have added a master page to shared folder in mvc4 application but html helpers are not availaible

<%: Html .............This line have error html does not exist in current context

1 solution

if you have a master page, I don't think the child pages should have the <HTML> tags. Just the headers and body?

Most of the time we just used the content tags.
 
Share this answer
 
Comments
[no name] 20-Mar-14 10:03am    
but my master page having error that 'html does not exist in current context' . sir, as we know there is already a master page in our mvc4 internet application that is 'site.master' . I have taken a new master page and this error comes in that page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900