Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
csgraham74 #1
Image to load in larger popup
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
csgraham74 Guest
-
image popup
I could us some insight in the following problem I'm having. I want to add a picture to a link that opens in a seperate window while the page... -
popup image
I can dynamically link a larger image to a thumbnail by the 'open browser window' behaviour .... but the size of the pop up window has to be... -
Thumbnail image in Flash to larger image in new window?
I have a series of thumbnail images in Flash and I want the user to be able to click on the thumbnail and get a larger photo. I know how to make the... -
Page load very slow with popup navigation
We are using Flash MX and developed popup navigation. This has slowed the page load to 10 seconds over a T1 line with IE 5.5/Win2000. The unusual... -
Displaying Larger Image On Rollover
Hi Steve, You could use multiple disjointed rollovers. Since rollover slices don't have to be on top of each other or even adjacent, and one... -
Eliyahu Goldin #2
Re: Image to load in larger popup
Add a client side onclick event for the image (c# syntax):
Image1.Attributes["onclick"]="showModalDialog('zoom.aspx?url='+this.src,'', '
');
zoom.aspx is a web form you need to make to get the enlarged image by
supplied url parameter.
Eliyahu
"csgraham74" <csgraham74@hotmail.com> wrote in message
news:1116778056.579361.283430@g43g2000cwa.googlegr oups.com...> 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
>
Eliyahu Goldin Guest
-
csgraham74 #3
Re: Image to load in larger popup
thanks for your help but are you sure this will work when my image is
in the datagrid ?????
i thought this would only work if my image was on the form.
thanks again
csgraham74 Guest



Reply With Quote

