how to remove plus and minus symbols in treeview checkbox controls.
only view 3checkbox .1st checkbox morethan one checkbox at the same method view 2nd and third
checkbox.1st checkbox select all sub checkbox automatically select and deselect the checkbox at the same time delect the all sub checkbox.this same method view 2nd and 3rd root check box controls.
Khargesh RajputPosted Apr 6, 2015, 2:09 AM
Gowtham RajamanickamPosted Apr 6, 2015, 4:27 AM
Khargesh RajputPosted Apr 6, 2015, 3:59 AM
protected void TreeViewStatesAndDistricts_TreeNodeDataBound(object sender, TreeNodeEventArgs e)
{
e.Node.SelectAction = TreeNodeSelectAction.SelectExpand;
}
and
bool Block = false;
protected void TreeViewStatesAndDistricts_TreeNodeExpanded(object sender, TreeNodeEventArgs e)
{
if (Block == true) // stop recursive re-entrancy
return;
Block = true;
TreeViewStatesAndDistricts.CollapseAll();
e.Node.Expand();
Block = false;
}
venky nPosted Apr 6, 2015, 3:22 AM
ex:
1.Residential Land
*Residential apartment
*Residential Villa
*Residential House
2.Commercial Land
*Commercial Show room
*Commercial Land
*Commercial office
3.Land
*commercial common land
*Residential common land
the 1st parent node select time only expand 1st child node. 2nd parent node select time only expand 2nd child node.3rd parents select time expand 3rd child node
Khargesh RajputPosted Apr 6, 2015, 2:59 AM
because you dont want to show expand collapse buttons
like as in below link
http://www.aspsnippets.com/Articles/Populate-jQuery-Accordion-with-data-from-Database-in-ASPNet-using-C-and-VBNet.aspx
venky nPosted Apr 6, 2015, 2:42 AM
Khargesh RajputPosted Apr 6, 2015, 2:35 AM
1st root checkbox select time dnot mimize the 2nd and 3rd root checkbox control
do you face problem to minimize child nodes on parent click
venky nPosted Apr 6, 2015, 2:33 AM
venky nPosted Apr 6, 2015, 2:25 AM