How to insert additional content to page header from viewpage?

Posted by madyalman on Stack Overflow See other posts from Stack Overflow or by madyalman
Published on 2010-12-30T08:52:20Z Indexed on 2010/12/30 8:54 UTC
Read the original article Hit count: 187

Filed under:

Hi, I am new to asp.net mvc platform. I'm developing with razor template engine in mvc 3. I've created a layout page for all view pages but in some cases I need different page headers for different view pages. For example I have to insert additional script elements to page header to validate data in form pages.

I want to know is there any way to add html element to layout page's header from view page?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about asp.net-mvc