How to open Radwindow in TelerikMVC3 Razor engine
I have develop a TelerikMVC# application in that i have link button for o开发者_Python百科pen radwindow.When i click on this linkbutton how can i open the Radwindow? please help me..
This is how we declare the window:
@( Html.Telerik().Window()
.Name("WindowEditar")
.Title("Editar")
.Draggable(true)
.Visible(false)
.Modal(true)
.Buttons(b => b.Close())
.Width(800)
.Height(600)
)
And here is code to open it using JavaScript:
var popup = $("#WindowEditar").data("tWindow");
popup.open();
精彩评论