This question is locked. New answers and comments are not allowed.
Hi,
Can someone help with converting this to vb.net? I can't work out the .content section:
Thanks
Gareth
Can someone help with converting this to vb.net? I can't work out the .content section:
<% Html.Telerik().Window()
.Name("Window")
.Title("Telerik Window for ASP.NET MVC")
.Draggable((bool)ViewData["movable"])
.Resizable(resizing => resizing
.Enabled((bool)ViewData["resizable"])
.MinHeight(250)
.MinWidth(250)
.MaxHeight(500)
.MaxWidth(500)
)
.Scrollable((bool)ViewData["scrolling"])
.Modal((bool)ViewData["modal"])
.Buttons(b => b.Maximize().Close())
.Content(() =>
{%>
<p style="text-align: center">
<img src="<%= Url.Content("~/Content/Window/window.png")%>"
alt="Window for ASP.NET MVC logo" style="display:block;margin:0 auto
10px;" />
The Telerik Window for ASP.NET MVC is<br /> the right choice for creating Window
dialogs<br />
and alert/prompt/confirm boxes<br /> in your ASP.NET MVC applications.
</p>
<%})
.Width(300)
.Height(300)
.Render();
%>
Thanks
Gareth