ImageButton

ImageButton

am 08.04.2008 15:18:31 von Gabriel Pineda

hi, is it possible to add some associated text to an image button?
something like an image button and besides the text "accept" and both will
be handled by the imagebutton_click event.

thank you!

Re: ImageButton

am 08.04.2008 15:36:01 von joe

Did you try using the CommandArgument property?

"Gabriel Pineda" wrote in message
news:OmJjMsXmIHA.3780@TK2MSFTNGP06.phx.gbl...
> hi, is it possible to add some associated text to an image button?
> something like an image button and besides the text "accept" and both will
> be handled by the imagebutton_click event.
>
> thank you!
>

Re: ImageButton

am 08.04.2008 16:12:00 von Mark Fitzpatrick

No. You could use a linkbutton and put an image and some text within that.
I've done this before using a standard HTML image and text so I don't know
if it works with an image control or not.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"Gabriel Pineda" wrote in message
news:OmJjMsXmIHA.3780@TK2MSFTNGP06.phx.gbl...
> hi, is it possible to add some associated text to an image button?
> something like an image button and besides the text "accept" and both will
> be handled by the imagebutton_click event.
>
> thank you!
>