SyntaxFix
Write A Post
Hire A Developer
Questions
Following is working for me on dotnet 1.0.1:
./ourView.cshtml
@Html.Partial( "_ourPartial.cshtml", new ViewDataDictionary(this.Vi??ewData) { { "hi", "hello" } } );
./_ourPartial.cshtml
<h1>@this.ViewData["hi"]</h1>