This is a migrated thread and some comments may be shown as answers.

Using an image as opener element

1 Answer 16 Views
Window
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 15 Apr 2010, 03:32 PM
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" /> 

1 Answer, 1 is accepted

Sort by
0
Clive Hoggar
Top achievements
Rank 1
answered on 15 Apr 2010, 03:51 PM
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
Tags
Window
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Clive Hoggar
Top achievements
Rank 1
Share this question
or