> with just a variable being created in the code behind then
> used in the page.

For that, I'd suggest putting a Literal control where you want the string to
be, and then setting yourLiteral.Text = the variable.

On 11/15/05, Mike Belcher <[EMAIL PROTECTED]>
wrote:
>
> 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 <http://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


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/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/
 


Reply via email to