Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 24, 2010 07:05 AM by rugved_mandrekar
Sep 06, 2006 06:47 PM|LINK
I must be barking up the wrong tree because I have found nothing in the internet about this. I'd like to know how to achieve a server control that renders something like this...
<button><img src="new.gif" /> New</button>
I can't seem to get anywhere with it though. What gives?
Sep 06, 2006 06:49 PM|LINK
The regular button just shows text - the ImageButton does exactly what the button does, but you can use an image for it's GUI representation.
So, are you saying that you want a button to show an image AND text on the button?
Sep 06, 2006 06:50 PM|LINK
Sep 06, 2006 06:56 PM|LINK
Sep 06, 2006 07:00 PM|LINK
Sep 06, 2006 07:06 PM|LINK
Sep 06, 2006 07:13 PM|LINK
Sep 06, 2006 07:20 PM|LINK
I realize that the web and winforms are totally different. My point is that if it's trivial and doable on winforms, and it has been for a long time, and it's trivial and doable in HTML (standards aside) then shouldn't we have it by now? If it was rocket
science to accomplish, I'd understand, but evidently it isn't.
I was aiming for something like...
<button><img ...> Text</button>
Sep 06, 2006 07:30 PM|LINK
According to About.Com the BUTTON tag is valid XHTML and the IMG element is valid within a BUTTON...
Sep 06, 2006 07:41 PM|LINK
My point is that if it's trivial and doable on winforms, and it has been for a long time, and it's trivial and doable in HTML (standards aside) then shouldn't we have it by now?