Hi,
in my org chart i add two item template (DeleteBtn,PopUpBtn)
item (DeleteBtn) want to be visible on last level node and item (PopUpBtn) visible on parents node
how can i do it after binding data from database ??
and the item (Name) not always take the same (Container.DataItem) i want to change it at binding the data
should I add the template at run time or how ??
in my org chart i add two item template (DeleteBtn,PopUpBtn)
item (DeleteBtn) want to be visible on last level node and item (PopUpBtn) visible on parents node
how can i do it after binding data from database ??
and the item (Name) not always take the same (Container.DataItem) i want to change it at binding the data
should I add the template at run time or how ??
<telerik:RadOrgChart ID="AdminOccupationsChart" runat="server" LoadOnDemand="NodesAndGroups" EnableCollapsing="true" EnableDragAndDrop="true" > <ItemTemplate> <strong id="Name"> <%# DataBinder.Eval(Container.DataItem, "RecordName")%></strong> <button id="DeleteBtn" title="Remove" class="rocRemoveItemButton" /> <button id="PopUpBtn" title="Open" class="rocOpenPopupButton" /> </ItemTemplate> </telerik:RadOrgChart>