需要帮助来创建Kendo UI弹出窗口

时间:2014-10-16 16:33:01

标签: asp.net-mvc kendo-ui telerik

点击链接时,我需要帮助创建以下UI(点击“Ui mock up”链接)作为弹出窗口。每个文本(Text1,Text 2和Text 3)都是超链接

我们正在使用带有ASP.Net MVC框架的Kendo UI。

UI mock up

请帮助

1 个答案:

答案 0 :(得分:0)

试试这个:

查看:

@(Html.Kendo().Window()
    .Name("popup")
    .Title("Whatever")
    .Content(@<text>
         anything you want here: the HTML for your 3 text links, for example
    </text>)
    .Modal(true)
    .Visible(false)
    .Width(200)
)

<强>脚本:

$("#popup").data("kendoWindow").center().open();

单击要触发弹出窗口的链接时调用脚本。