如何在选择或单击 Telerik MVC 树视图的节点时调用控制器操作?
<%
= Html.Telerik().TreeView()
.Name("TreeView1")
.ClientEvents(events => events
.OnSelect("onSelect")
)
.BindTo(Model, mappings =>
{
mappings.For<Models.Samples>(binding => binding
.ItemDataBound((item, mno) =>
{
item.Text = mno.A;
item.Value = mno.B;
}));
})
%>