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

hierarchy expand button image

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Webster Velasco
Top achievements
Rank 2
Webster Velasco asked on 09 Apr 2010, 03:06 PM
hi

i want to ask how cn i change the default image of the hierarchy expand image button?

thanks

regards
webster

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 12 Apr 2010, 08:04 AM

Hello,

Set the ExpandImageUrl/CollapseImageUrl in order to change the images showing in grid expand/collapse column.

aspx:

 
 <MasterTableView CommandItemDisplay="Top"  
      DataKeyNames="CustomerID" DataSourceID="SqlDataSource1" Width="100%"  
      ExpandCollapseColumn-ButtonType="ImageButton" ExpandCollapseColumn-CollapseImageUrl="../Images/AddRecord.gif"  
      ExpandCollapseColumn-ExpandImageUrl="../Images/Cancel.gif">  
          . . . 

-Shinu.

Tags
Grid
Asked by
Webster Velasco
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 1
Share this question
or