how to display a imagebutton in asp.net
-
how do we display a imagebutton in asp.net.it does show a small box with a cross on it but doesnt display the image of the button.though the functionality behind the button wrks just fine. bia ali
-
how do we display a imagebutton in asp.net.it does show a small box with a cross on it but doesnt display the image of the button.though the functionality behind the button wrks just fine. bia ali
-
how do we display a imagebutton in asp.net.it does show a small box with a cross on it but doesnt display the image of the button.though the functionality behind the button wrks just fine. bia ali
Change the tag's src attribute to point to the location of the image you want to display. Another reason why it's not being displayed is that the path to the image may be wrong.
You don't have to be AFRAID!
-
hi, for that u have to set property of image button. give image url to imagebutton..
Thanks, Sun Rays
the path that it allows me for picking the pick url is the folder in which the project is lying and even if the image is pasted in that folder still it doent show that image in pick url window for me to select it and if i write it myself then it gives me an error: image not found bia ali
-
the path that it allows me for picking the pick url is the folder in which the project is lying and even if the image is pasted in that folder still it doent show that image in pick url window for me to select it and if i write it myself then it gives me an error: image not found bia ali
You need to include the image folder into your web site and then include the image into you web site. If the image is out side your web site the web site doesn't have access to the image. Also if you don't include the image with the web site when you deploy the web site the image won't get deployed with it. Ben