T
trint
I have this in my aspx file (using c#):
<asp:ImageButton ID="Imagebutton1" runat="server" alt='<%# Eval
( "name" ) %>' CommandName="select"
ImageUrl='<%#
Eval ( "image_file_name", "~/images/categories/{0}" ) %>' Width="50%" /
Sometimes the folder of the default image will be in /images/products
and not in /images/categories.
Is there a way to change this in my c# file under certain conditions?
Thanks,
Trint
<asp:ImageButton ID="Imagebutton1" runat="server" alt='<%# Eval
( "name" ) %>' CommandName="select"
ImageUrl='<%#
Eval ( "image_file_name", "~/images/categories/{0}" ) %>' Width="50%" /
Sometimes the folder of the default image will be in /images/products
and not in /images/categories.
Is there a way to change this in my c# file under certain conditions?
Thanks,
Trint