From Telerik to Kendo Treeview ItemDataBound -


I am currently changing a website, where the company wants to change everything from Teleik to Kendo.

And I have now gone into some difficulties. There may be some mapping in the BindTo method, and .emdatabound . And in it, you can set a value Here is a complete example:.

  @ (Html.Kendo () TreeView () .Name ("MenuTree") .Checkboxes (correct) .ExpandAll (true) .DragAndDrop (Incorrect). Events (Events = & gt; events.Select ("onChecked"). BindTo (enumNames, Mapping = & gt; {mappings.For & lt; string & gt; (binding = & gt; binding.ItemDataBound ((item, menuGroup) = & gt; { Item .text = this.GlobalResource ("EnergyLine", menuGroup); MenuGroup Result; Enum.TryParse (menuGroup, true, outside results); item.Value = ((int) result) .toString (CultureInfo.InvariantCulture); ..   

But there are no attribute value in the keyndo. What is the related attribute for the condo?

item.id to item.Value instead of> in.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -