N
nicholas
Why is this not working ??
<asp:Image ID="myimage"
ImageUrl='/aspx_scripts/thumbnailimage.aspx?filename=/files/products/image1/
<%# DataBinder.Eval(Container.DataItem, "productID") %><%#
DataBinder.Eval(Container.DataItem, "productimage1")
%>?height=140&width=140' visible='<%#
IIF(DataBinder.Eval(Container.DataItem, "productimage1")=".jpg",true,false)
%>' runat="server" />
I get a server malformed error.
The visible='...' part is OK, because if I do this : ImageUrl="blalba.gif"
it works
THX
<asp:Image ID="myimage"
ImageUrl='/aspx_scripts/thumbnailimage.aspx?filename=/files/products/image1/
<%# DataBinder.Eval(Container.DataItem, "productID") %><%#
DataBinder.Eval(Container.DataItem, "productimage1")
%>?height=140&width=140' visible='<%#
IIF(DataBinder.Eval(Container.DataItem, "productimage1")=".jpg",true,false)
%>' runat="server" />
I get a server malformed error.
The visible='...' part is OK, because if I do this : ImageUrl="blalba.gif"
it works
THX