Go to DotNetFunda.com
 Online : 66 |  Welcome, Guest!   Login
 Skip Navigation Links Home > Forums > ASP.NET > image button in asp.net
  Win at least 8 gifts every month now! >> Top Performers of this month.   


Notice: If page content has been copied from other sources without proper permission, kindly let us know with details from where it has been copied for further action.

ASP.NET Forum



image button in asp.net

Author: Shoyebaziz123 | Posted on: 11/14/2009 | Category: ASP.NET | Views: 85 |  Print |
Hi All,

i want to display (image-Text) on image button ....whereimage is some image and tex is some text on right side of image ?

Thanks

Reply



Interesting?   Share and Bookmark this


 Responses
Vuyiswamb  
Posted on: 11/14/2009 8:13:16 AM
Reply

Good Day Shoyebaziz123

The Image Control in ASP.net must have a Text Property. am not sure am not infront of my Computer. but you will do it like this


Image1.Text = "Hello world";


Thank you for posting at DotnetFunda

Vuyiswa Maseko


Poster  
Posted on: 11/15/2009 7:48:22 PM
Reply

Simply put like this.

<img src="/myimage.jpg" style="text-valign:middle;" />My text


This will make the text appear at the right side of the image.

Thank you


Latest Questions

 Ask a Question


Advertisement

About Us | The Team | Contact Us | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)