@{ Html.Telerik().Window() .Name("Window") .Title("Submit feedback") .LoadContentFrom("TestPartial", "Settings") .Width(400) .Draggable(true) .Modal(true) .Visible(false) .Render(); } @if (ViewData["name"] != null || ViewData["email"] != null || ViewData["comment"] != null) {

Feedback:

Name: @ViewData["name"]
E-mail: @ViewData["email"]
Comment: @ViewData["comment"]

} @{ Html.Telerik().ScriptRegistrar() .OnDocumentReady(@ // open the initially hidden window when the button is clicked ); }