C
csgraham74
Hi guys,
just wondering if anyone can help me. I have a datagrid control that
pulls images into a template column using the following code
<asp:TemplateColumn HeaderText="Image">
<ItemTemplate>
<asp:image ImageUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,
"product_image")) %>' Width="90" Height="70" Runat=server ID="Image1"/>
</ItemTemplate>
</asp:TemplateColumn>
FormatURL - sets the path of the image.
I need to create some code that allows me to open a popup window when i
click on the image and to display a larger version of the image.
Im not sure how to go about this ??? any help or ideas appreciated.
thanks in advance
C
just wondering if anyone can help me. I have a datagrid control that
pulls images into a template column using the following code
<asp:TemplateColumn HeaderText="Image">
<ItemTemplate>
<asp:image ImageUrl='<%# FormatURL(DataBinder.Eval(Container.DataItem,
"product_image")) %>' Width="90" Height="70" Runat=server ID="Image1"/>
</ItemTemplate>
</asp:TemplateColumn>
FormatURL - sets the path of the image.
I need to create some code that allows me to open a popup window when i
click on the image and to display a larger version of the image.
Im not sure how to go about this ??? any help or ideas appreciated.
thanks in advance
C