3
Answers

Add text and image to link button

darma teja

darma teja

11y
1.3k
1
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)