How do you set, and get back the selected value of an dropdownlist-item set through local data binding? Here you can see that I have a list of judges, and a list of court dates for each judge, I would like to be able to set, and get back the id of each court date in the PostBack in razor pages. How do I do so?
<kendo-dropdowntree name="dropdowntree" auto-width="true" >
<items>
@{
foreach (var judge in @Model.JudgesTreeView)
{
<dropdowntree-item text="@judge.Name" title="@judge.Name">
<items>
@{
foreach (var hearings in judge.HearingDate)
{
<dropdowntree-item text="@hearings.Text" >
</dropdowntree-item>
}
}
</items>
</dropdowntree-item>
}
}
</items>
</kendo-dropdowntree>