Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 2.x: 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

  • track vts avatar

    Posted on Nov 18, 2009 (permalink)

    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

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Nov 27, 2009 (permalink)

    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.

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 2.x: 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