My grid contains the following: I want to be able to control the displaying of the image button based on whether there are any detail records in the code behind, some records will have detail data and some will not. What event do I need to use and how do I set its property to visible or not visible?
Thanks
<MasterTableView Width="100%" DataKeyNames="Odline" HierarchyLoadMode="Client"
ExpandCollapseColumn-ButtonType="ImageButton"
ExpandCollapseColumn-CollapseImageUrl="hide.bmp"
ExpandCollapseColumn-ExpandImageUrl="detail.bmp" >