| 
		
	 | 
	
	
	
		Rank: Member Groups: Member
 
 
Joined: 10/4/2008 Posts: 28 
	 | 
		   
	     
		    Is there a way to create an image button column in the grid?
  Thanks, James
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	    
		    Hi, Yes. You can use a ButtonColumn but set the columns' ButtonText to something like this:
 
The Grid just takes it and renders it as is inside the cell. So you can pretty much use any valid HTML markup. Thanks!
		  
	 | 
 | 
	
	
	
		Rank: Member Groups: Member
 
 
Joined: 10/4/2008 Posts: 28 
	 | 
		   
	     
		    Thanks, but how do I syntactically add <img src="edit.gif" /> to this line?
  <eo:ButtonColumn  Width="20" ButtonText="X" CommandName="Delete"></eo:ButtonColumn> 
		 
	 | 
 | 
	
	
	
		Rank: Member Groups: Member
 
 
Joined: 10/4/2008 Posts: 28 
	 | 
		   
	     
		    I think I got it.  <eo:ButtonColumn  Width="20" ButtonText="<img src="../Images/delete.gif"/>" CommandName="Delete"></eo:ButtonColumn>
  There is a blue border around the image.  Can that be changed?
  Thanks, James 
		 
	 | 
 | 
	
	
	
		Rank: Administration Groups: Administration
 
 
Joined: 5/27/2007 Posts: 24,427 
	 | 
		   
	     
		    Hi,
  Try to add border="0" to your image tag. The image is being rendered inside an HTML link (<a> element), so everything is the same as if you use an image inside a link.
  Thanks! 
		 
	 | 
 |