Hello,
I have been working to add the new DropDownTree control to my project and noticed an undesired behavior when using it in Tri-state mode. While checking the boxes visually does display correctly, it doesn't appear that the correct values are getting passed through the OnClientEntryAdding and OnClientEntryRemoving events using this method which you have on your help pages (which I actual found under RadAutoCompleteBox because the help for RadDropDownTree is useless and incomplete):
For example, using hierarchical tree such as:
...If I check "Arizona", on the UI "Phoenix, Tuscon, and Flagstaff" all get checked as expected, however; "Arizona" appears to be the only value actually returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, Tuscon, and Flagstaff" . Additionally, if I decide to uncheck say Tuscon, the UI does display this correctly and "Arizona" renders as the third state check, however; once again only "Arizona" is returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, and Flagstaff".
What am I missing here to get this to return the correct values to mimic what is shown on the UI side?
Regards,
Steve
I have been working to add the new DropDownTree control to my project and noticed an undesired behavior when using it in Tri-state mode. While checking the boxes visually does display correctly, it doesn't appear that the correct values are getting passed through the OnClientEntryAdding and OnClientEntryRemoving events using this method which you have on your help pages (which I actual found under RadAutoCompleteBox because the help for RadDropDownTree is useless and incomplete):
<
script
type
=
"text/javascript"
>
function entryAdding(sender, eventArgs) {
alert(eventArgs.get_entry().get_value());
}
function entryRemoving(sender, eventArgs) {
alert(eventArgs.get_entry().get_value());
}
</
script
>
For example, using hierarchical tree such as:
[ ] Arizona
-- [ ] Phoenix
-- [ ] Tuscon
-- [ ] Flagstaff
[ ] California
-- [ ] San Diego
-- [ ] San Francisco
-- [ ] Hollywood
...If I check "Arizona", on the UI "Phoenix, Tuscon, and Flagstaff" all get checked as expected, however; "Arizona" appears to be the only value actually returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, Tuscon, and Flagstaff" . Additionally, if I decide to uncheck say Tuscon, the UI does display this correctly and "Arizona" renders as the third state check, however; once again only "Arizona" is returned from the entryAdding alert whereas I would expect to see "Arizona, Phoenix, and Flagstaff".
What am I missing here to get this to return the correct values to mimic what is shown on the UI side?
Regards,
Steve