Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1965
Image not appearing
posted

hi,

The image of the control is not appearing both at design and in runtime , though the path is correct.

 

 

<

 

igtxt:WebImageButton ID="btnAdd" runat="server" ImageDirectory="/Images/" >

 

 

<Appearance> <Image Url="Images/Add-icon.png"/> </Appearance>

 

 

</igtxt:WebImageButton>

Image is present in the above path.

Pl help!

Thanks,

Parthi

Parents
No Data
Reply
  • 8160
    Verified Answer
    posted

    Hi Parthi,

    could you inspect your page with Firebug or Developer Toolbar. Are you sure that you give the correct path to it.

    what if you try to set

    <
    igtxt:WebImageButton ID="btnAdd" runat="server" ImageDirectory="~/Images/" >
    <Appearance>
       
    <Image Url="~/Images/Add-icon.png"/>
    </Appearance>

    </igtxt:WebImageButton>

Children