Hi ALL,
I need to build a large treeview struture using ExpandMode = ServerSide and I wish to mark some nodes as "Indeterminate". How can I do that? I have this code so far:
Thanks in advance,
Rubens
I need to build a large treeview struture using ExpandMode = ServerSide and I wish to mark some nodes as "Indeterminate". How can I do that? I have this code so far:
treeview.Nodes.Clear();
foreach
(var item
in
collection)
{
treeview.Nodes.Add(
new
RadTreeNode
{
Text = item.Text,
Value = item.Id.ToString(),
Checked = item.Aplicabilidade.Any(aplic => aplic.Area.Id == filtroEmpresas.SelectedValue),
ExpandMode = TreeNodeExpandMode.ServerSide,
// CheckStatus = Indeterminate //(readonly, doesn't works)
// CssClass = "rtIndeterminate" //(doesn't render correctly)
});
}
Thanks in advance,
Rubens