C
csgraham74
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.
What i want to do is to be able to click on my image in the datagrid
and for a small window to popup with the image, description and name of
my item in the window.
Im not too sure how to do this -
1. Is it possible with my current setup ?
2. What do i need to add to my image template column ???
Any asp.net examples greatly appreciated.
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.
What i want to do is to be able to click on my image in the datagrid
and for a small window to popup with the image, description and name of
my item in the window.
Im not too sure how to do this -
1. Is it possible with my current setup ?
2. What do i need to add to my image template column ???
Any asp.net examples greatly appreciated.