I'm trying to load one image for all rows in my radgrid, however, all i'm able to get to appear is the alternate text. The code below is what I'm using:
<telerik:GridImageColumn DataType="System.String" DataImageUrlFields="ValletImage"
DataImageUrlFormatString="images/{0}.jpeg" AlternateText="Customer image" DataAlternateTextField="ContactName"
ImageAlign="Middle" ImageHeight="110px" ImageWidth="90px" HeaderText="Vallet"
FooterText="Vallet" ImageUrl="~/vallet.aspx?={0}" />
My datarow produces ValletImages = "mypicture" for each picture. In this case all my rows appear as "smallpic", i'm expecting it to look for images/mypicture.jpeg but it refuses to load.
Do I have it wrong or is there something I need to change? Also, i am trying to have a specific URL per picture.
Thanks
<telerik:GridImageColumn DataType="System.String" DataImageUrlFields="ValletImage"
DataImageUrlFormatString="images/{0}.jpeg" AlternateText="Customer image" DataAlternateTextField="ContactName"
ImageAlign="Middle" ImageHeight="110px" ImageWidth="90px" HeaderText="Vallet"
FooterText="Vallet" ImageUrl="~/vallet.aspx?={0}" />
My datarow produces ValletImages = "mypicture" for each picture. In this case all my rows appear as "smallpic", i'm expecting it to look for images/mypicture.jpeg but it refuses to load.
Do I have it wrong or is there something I need to change? Also, i am trying to have a specific URL per picture.
Thanks