We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we use DropDownTreeFor and bind the DropDownTree with DataSource the values are not applied
project available in ticket: 1458580
The text was updated successfully, but these errors were encountered:
In addition to the DataSource remote binding scenario, the model is not properly updated when server binding is used:
@(Html.Kendo().DropDownTreeFor(m => m.ListOfRoles) .Checkboxes(c => c.Name("checkedItems")) .CheckAll(false) .AutoClose(false) .BindTo((IEnumerable<ServerCheckboxes.Models.ItemViewModel>)ViewBag.dropdowntreeData, (NavigationBindingFactory<DropDownTreeItem> mappings) => { mappings.For<ServerCheckboxes.Models.ItemViewModel>(binding => binding.ItemDataBound((item, category) => { item.Text = category.Role; item.Value = category.RoleID; }) ); }) .Events(e => e.DataBound("onDataBound")) )
A sample project can be found in Ticket ID: 1465800
Sorry, something went wrong.
Update (Ticket ID: 1465800): using a primitive value in the DDT:
.ValuePrimitive(true)
resolves the issue related to updating the model. So the behavior should be investigated in regards to not using primitive value.
Reported in 1564121
Reported in 1564199
aleksandarevangelatov
No branches or pull requests
Bug report
Reproduction of the problem
When we use DropDownTreeFor and bind the DropDownTree with DataSource the values are not applied
project available in ticket: 1458580
Environment
The text was updated successfully, but these errors were encountered: