How to display text on imagebutton that contains image  
Author Message
Rakesh k.m





PostPosted: ASMX Web Services and XML Serialization, How to display text on imagebutton that contains image Top

The text on image button will come dynamically...


.NET Development12  
 
 
Indian Ocean





PostPosted: ASMX Web Services and XML Serialization, How to display text on imagebutton that contains image Top

I think its not possible.

But you can try overriding Render method. and may be it can help you to alter the rendered HTML to do your task, else i am not figuring out any other way.

Also, this is ASP.NET question, so you should post this on http://forums.asp.net - may be someone can guide you better.

HTH,



 
 
Gavin Jin - MSFT





PostPosted: ASMX Web Services and XML Serialization, How to display text on imagebutton that contains image Top

I totoly agreed with Indian Ocean's opinion,you can use text link while there is backgroud picture.I think maybe in this way you will get what you want.

however ,this is ASP.NET question.......



 
 
Indian Ocean





PostPosted: ASMX Web Services and XML Serialization, How to display text on imagebutton that contains image Top

Hi, One other idea would be creating image on the fly-dynamically which contains text itself.. if its possible in your case

HTH,



 
 
Miztiik





PostPosted: ASMX Web Services and XML Serialization, How to display text on imagebutton that contains image Top

you can use the gdi+ methods

system.drawing to accomplish it