Using an image as opener element

2 posts, 0 answers
  1. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 15 Apr 2010 Link to this post

    Hi
    I am having an issue using an image control as an opener element for the window, but if I use a div it works fine.
    I can't see what's wrong with this - or can't I use an image in this way?

    Thanks for any hints

    Clive
    using version Q2 2009
    <telerik:RadWindow ID="RadWindow1" runat="server"   
            OpenerElementID="imageClick" NavigateUrl="images/PETRUS-1med.jpg"   
            Animation="Fade" VisibleStatusbar="False"   
            BackColor="#5F6060" Height="710px" Width="600px">     
    </telerik:RadWindow> 
     
     
    <asp:Image ID="imageClick" runat="server"   
                ImageUrl="images/PETRUS-1small.jpg"   
                AlternateText="Chateau Petrus" Width="250px"   
                CssClass="chateau-pics-small"   
                ToolTip="Click for larger image" /> 
  2. Clive Hoggar
    Clive Hoggar avatar
    348 posts
    Member since:
    Nov 2008

    Posted 15 Apr 2010 Link to this post

    I knew as soon as I filed this the answer would come to me..
    Of course I have to use <%# imageClick.ClientID %> for the opener element..

    Doh!

    Clive
Back to Top