开发者

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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜