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

RadBinary Image Thumbnail tooltip

1 Answer 59 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
Philip
Top achievements
Rank 1
Philip asked on 21 Jul 2009, 05:42 PM
Is it possible to use the tooltip (or any other method) to enlarge a thumbnail when you hover over the BinaryImage? I amusing a repeater to dislpay the thumbnail.

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 23 Jul 2009, 01:22 PM
Hello Philip,

You may consider using two RadBinaryImage controls, one for the smaller image and one for the larger version which to be placed inside the RadToolTip. Similar to the following:

<asp:Repeater runat="server" ID="Repeater1" DataSourceID="sqlDataSource1">  
            <ItemTemplate> 
                <telerik:RadBinaryImage runat="server" ID="radBinaryImage1" DataValue='<%#Eval("ThumbNailPhoto") %>' /> 
                <telerik:RadToolTip runat="server" ID="RadToolTip1" TargetControlID="radBinaryImage1" 
                    Position="Center">  
                    <telerik:RadBinaryImage runat="server" ID="radBinaryImage2" DataValue='<%#Eval("LargePhoto") %>' /> 
                </telerik:RadToolTip> 
            </ItemTemplate> 
        </asp:Repeater> 


Kind regards,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
BinaryImage
Asked by
Philip
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or