开发者

How to open Radwindow in TelerikMVC3 Razor engine

开发者 https://www.devze.com 2023-03-27 01:54 出处:网络
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 de

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

精彩评论

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