[RESOLVED]Pass a variable or two via @RenderPage

How can I pass variable or two from a page via @RenderPage("../views/mypage.cshtml" ) and how can they be retrieved on mypage.cshtml?

Thanks

Try using the Page object

http://www.mikesdotnetting.com/article/147/webmatrix-consistent-look-and-feel-with-razor

Leave a Reply