I'm using the radrotator image gallery example and i'm trying to achieve the following:
When a user clicks a full image (imagePreview) a lightbox popup window will be come up containing the full image and the comments.
I wrote the following code with no result:
aspx file
aspx.cs file
Any ideas on how to achieve this either with jquery lightbox or radwindow (I would like the popup window contains both full image and comments)?
Thank you very much apriori.
When a user clicks a full image (imagePreview) a lightbox popup window will be come up containing the full image and the comments.
I wrote the following code with no result:
aspx file
<
a
runat
=
"server"
id
=
"linkPreview"
rel
=
"lightbox"
>
<
asp:Image
ID
=
"imagePreview"
Height
=
"192px"
Width
=
"272px"
AlternateText
=
"preview"
BorderWidth
=
"0"
runat
=
"server"
ImageUrl
=
"Images/spacer.gif"
/></
a
>
aspx.cs file
linkPreview.Title = fInfo.comments;
linkPreview.HRef = imagePreview.ImageUrl;
Any ideas on how to achieve this either with jquery lightbox or radwindow (I would like the popup window contains both full image and comments)?
Thank you very much apriori.