J
Jimmy D
In html I can create a button control that shows an image rather than
text through the use of button tags:
<button><img src="image.jpg"></button>
I want to create the same type of control in ASP.NET. I don't want to
have to specify four different images (onmouseover, onmouseout,
onmousedown and onmouseup) just to create an image that behaves like a
button. I want to be able to use the existing asp.net button control
(or an extension of that control) and specify an image rather than set
the text property, but have it behave like a regular asp.net button
(postback, etc). Is it just me or does this seem like fairly simple
functionality that's missing from ASP.NET?
Can this be done?
text through the use of button tags:
<button><img src="image.jpg"></button>
I want to create the same type of control in ASP.NET. I don't want to
have to specify four different images (onmouseover, onmouseout,
onmousedown and onmouseup) just to create an image that behaves like a
button. I want to be able to use the existing asp.net button control
(or an extension of that control) and specify an image rather than set
the text property, but have it behave like a regular asp.net button
(postback, etc). Is it just me or does this seem like fairly simple
functionality that's missing from ASP.NET?
Can this be done?