+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / image is conveted at runtime to button,and its showing text insted of image but there is problem on Chrome its showing blank no image tag insted of text in asp.net

image is conveted at runtime to button,and its showing text insted of image but there is problem on Chrome its showing blank no image tag insted of text in asp.net

2 posts, 0 answered
  1. track vts
    track vts avatar
    2 posts
    Registered:
    17 Nov 2009
    18 Nov 2009
    Link to this post
    heloo,
    I have code in Asp.net in which image is converted into button at run time
    On IE and Firefox its working fine but on Google Chrome its showing no image tag(cross)
    on that button instead of showing text on that button.
    plz give me solution for that
    help me
    thanx

    code is as follow
    <asp:Image ID="Image3" runat="server" BackColor="Transparent" BorderColor="Transparent" BorderStyle="None" BorderWidth="0px" AlternateText="Create Geofence" />

    Actualy though i have used asp:image but m expecting runtime button ehich is going to print run time image so i have given alternate text to the image and m expecting text should display not image but google chrome is showing only image not text
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    19 Sep 2016
    27 Nov 2009
    Link to this post
    Hi track vts,

    You cannot change the AlternateText at runtime because you have hardcode it in the control declaration. Also if you are changing the image at runtime this should be in the code behind, which you have not posted.

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered