Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Web Part Button Control BackGround Image

  Asked By: Chaim    Date: Jun 20    Category: Sharepoint    Views: 1700

I am trying to put Button Background as an Image. I am not able to do it.

I created Button Object but there is no option like ImageBackGround. Any Idea..

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Jennifer Jones     Answered On: Jun 20

I just missed to say that I can use ImageButton instead to resolve it….

 
Answer #2    Answered By: Annie Norris     Answered On: Jun 20

Try this code

protected ImageButton saveimage;

imagecell=new TableCell();
imagecell.Width=new Unit(5,UnitType.Percentage);
this.Controls.Add(imagecell);
AddressSaveImageCell=new TableCell();
AddressSaveImageCell.Width=new Unit(5,UnitType.Percentage);
this.Controls.Add(AddressSaveImageCell);

 
Didn't find what you were looking for? Find more on Web Part Button Control BackGround Image Or get search suggestion and latest updates.




Tagged: