darma teja

darma teja

  • NA
  • 496
  • 338.5k

Add text and image to link button

Apr 23 2013 11:09 AM
Hi,

I would like to add a text and image to my link button. I want to show text on left and image on the right side of the button.

Here is the code that i wrote:

 LinkButton mybutton = new LinkButton();
  mybutton.Text = "Hindhi";
 mybutton.Controls.Add(new ImageButton()
                {
                    ImageUrl = @"c:\APPthemes\img\india.gif"


                });


Many thanks,

Darma

Answers (3)