RadBinary Image Thumbnail tooltip

2 posts, 0 answers
  1. Philip
    Philip avatar
    70 posts
    Member since:
    Apr 2008

    Posted 21 Jul 2009 Link to this post

    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.
  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 23 Jul 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top