Ask a Question related to ASP.NET General, Design and Development.
-
Matthew #1
How can I put some text on a imageButton
dear all,I want to put some text(caption) on a imageButton in asp.net,I
guess this maybe be done by deriving a new class from ImageButton,but I
can't step any further.So,pls give me some suggestions.
A world of thanks!
Matthew Guest
-
ImageButton PostBack Help
I cant figure out why this ImageButton doesn't post back the way a Button does. Can anyone explain to me why the RaisePostBackEvent() method doesn't... -
Imagebutton as commandbutton
Hi, I want to use an imagebutton as commandbutton in a datagrid. When I add a column, say "delete", convert it to a template column and replace... -
Datagrid & imagebutton
I have a datagrid with a templatecolumn, in this template there are two imagebutton, one for modify the record, one to cancel, but i'm not able to... -
Imagebutton over a little text
Hi, How can I put a little text below a imagebutton control ? Is there any property ? tks ed -
Datagrid and Imagebutton
try to write your code in the ItemCommand event of the datagrid (remove the code from your sub and put it in the ItemCommand event of the datagrid )... -
Ken Cox [Microsoft MVP] #2
Re: How can I put some text on a imageButton
It sounds like you want to build a text image on the fly. Here's an article
that shows how to do it and more:
[url]http://www.aspalliance.com/chrisg/default.asp?article=108[/url]
Ken
"Matthew" <wanghui@eachtech.com> wrote in message
news:eE%23pizeRDHA.2008@TK2MSFTNGP11.phx.gbl...
dear all,I want to put some text(caption) on a imageButton in asp.net,I
guess this maybe be done by deriving a new class from ImageButton,but I
can't step any further.So,pls give me some suggestions.
A world of thanks!
Ken Cox [Microsoft MVP] Guest
-
Ken Cox [Microsoft MVP] #3
Re: How can I put some text on a imageButton
Here's another nice example from Chris Garrett:
[url]http://www.aspalliance.com/chrisg/tools/view-LoadFont.vb.aspx[/url]
"Matthew" <wanghui@eachtech.com> wrote in message
news:eE%23pizeRDHA.2008@TK2MSFTNGP11.phx.gbl...
dear all,I want to put some text(caption) on a imageButton in asp.net,I
guess this maybe be done by deriving a new class from ImageButton,but I
can't step any further.So,pls give me some suggestions.
A world of thanks!
Ken Cox [Microsoft MVP] Guest



Reply With Quote

