This is a migrated thread and some comments may be shown as answers.

ExpandCollaspeColumn

2 Answers 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 14 Apr 2011, 09:31 PM

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" >

 

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 1
answered on 18 Apr 2011, 05:40 AM
Hello John,

You can refer the following documentation which explains how to hide expand/collapse image when there is no record.
Hiding expand/collapse images when no records

Thanks,
Princy.
0
John
Top achievements
Rank 1
answered on 19 Apr 2011, 02:41 PM
Thanks
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
John
Top achievements
Rank 1
Share this question
or