This question is locked. New answers and comments are not allowed.
Hi,
I'm having a problem with TreeView, that getItemValue($node) always returns text of first element, not value of passed node. Before i've used not official(as I understand) version that i've found in this forum, Telerik.Web.Mvc, Version=2010.1.416.235 and now i've updated to as understand new official version, Telerik.Web.Mvc, Version=2010.1.309.235.
Comparing code, i've noticed, that 309 version does not contain this code (reflected from dll, private void WriteItem(TreeViewItem item, IHtmlNode parentTag, ITreeViewHtmlBuilder builder); Declaring Type: Telerik.Web.Mvc.UI.TreeView):
So question is, should i stick to 416 or should i use 309 in some different way, because as i understand 309 does not generate inputs when checkbox'es and load on demand are disabled?
I'm having a problem with TreeView, that getItemValue($node) always returns text of first element, not value of passed node. Before i've used not official(as I understand) version that i've found in this forum, Telerik.Web.Mvc, Version=2010.1.416.235 and now i've updated to as understand new official version, Telerik.Web.Mvc, Version=2010.1.309.235.
Comparing code, i've noticed, that 309 version does not contain this code (reflected from dll, private void WriteItem(TreeViewItem item, IHtmlNode parentTag, ITreeViewHtmlBuilder builder); Declaring Type: Telerik.Web.Mvc.UI.TreeView):
| if ((item.LoadOnDemand || this.ShowCheckBox) || !item.Value.IsNullOrEmpty()) |
| { |
| builder.ItemHiddenInputValue(item).AppendTo(parent.Children[0]); |
| } |
So question is, should i stick to 416 or should i use 309 in some different way, because as i understand 309 does not generate inputs when checkbox'es and load on demand are disabled?