how to use Image button

Posted by Bhshiv24 under ASP.NET on 4/20/2011 | Points: 10 | Views : 2304 | Status : [Member] | Replies : 2
Hi

I want to use image button in my application.I want to use the zoom in and zoom out icons as image on the button.
I have used the image button and set the ImageUrl property to the image path.The image getting dispalyed on the button in the design view........but when I view my application in browser.........no image is displayed .

Why is that so ?Plz help me

Thanx




Responses

Posted by: Ndebata on: 4/20/2011 [Member] Starter | Points: 25

Up
0
Down
Hi

Please check the path of the image url which you are assiging to your image button.

After running the application
Right click on the image button, select properties you can view the [Address] path from which you are getiing the image. Check that is correct or wrong, else change accordingly.

Thanks,
Debata

Bhshiv24, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 4/20/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Bhshiv24

check image path . . on server you use like "../img/one.jpg" it's working for u

Best Regard's
Prabhakar

Bhshiv24, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response