How to display text on imagebutton that contains image

The text on image button will come dynamically...


Answer this question

How to display text on imagebutton that contains image

  • maddinthegreat

    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.......



  • Eusebiu

    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,



  • Tom from cener.co.uk

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

    HTH,



  • Eric SVM

    you can use the gdi+ methods

    system.drawing to accomplish it



  • How to display text on imagebutton that contains image