hierarchy expand button image

2 posts, 0 answers
  1. Webster Velasco
    Webster Velasco avatar
    114 posts
    Member since:
    Jun 2012

    Posted 09 Apr 2010 Link to this post

    hi

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

    thanks

    regards
    webster
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Apr 2010 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top