It used to be easy in asp. I have a page that has a photo control that has a
users photo. I want to have them able to click on the photo and the full
size is loaded into a popup window. I need to dynamically create the link
the popup with open. How can I do this with asp.net? Below is my current
html page code and the code behind. I have done this with repeater code but
not with just a variable being created in the code behind then used in the
page.
Thanks MIKE
HTML >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<TD>
<P align="center"><FONT face="Verdana" size="2"> <A
HREF="javascript:popUp('<%# CheckImageLink(strImageLink)%>')">
<asp:Image id="ImageProfilePhoto" runat="server" Width="150px"
BorderStyle="Solid" BorderColor="Black"
ImageUrl="images/Photos/mbelcher.jpg" ImageAlign="Left"
BorderWidth="1px"></asp:Image></A></FONT></P>
</TD>
CODE BEHIND >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Function CheckImageLink(ByVal strImageLink As String) As String
Dim strOutput As String
strImageLink = "http://www.site.com/images/test.jpg"
strOutput = strImageLink
Return strOutput
End Function
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/