This is a migrated thread and some comments may be shown as answers.

[Solved] TreeItem Value

1 Answer 36 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
topgear zhao
Top achievements
Rank 1
topgear zhao asked on 19 Mar 2010, 08:28 AM
I implement a tree with code: 

<%=Html.Telerik().TreeView().Name("treeArea")
          .ClientEvents(events => events
                 .OnSelect("onTreeSelect")
                     )
                              .BindTo(Model, (item,area) =>
                              {
                                  item.Text = area.Name;
                                  item.Value = area.Id.ToString();
                                 
                              })
  
    %>

but after render on page ,there is no hidden element with value. I have checked the example of Treeview, the treeview has  '<input class="t-input" name="itemValue" value="2" type="hidden"> on page, but there is no the hidden, why? Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 19 Mar 2010, 03:42 PM
Hello topgear zhao,

Thank you for pointing this issue.

The problem was fixed and will be included in our next release.

Meanwhile, I have attached the latest internal build to this message.

Greetings,
Georgi Krustev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
topgear zhao
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or