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

Tooltip questions - skins, positioning

3 Answers 130 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 26 Nov 2007, 09:02 AM
Hi there,
2 questions for you all:
1. Getting Skins to work in an existing project
I have an existing project that is using the RadControls for ASP.NET and I'm starting to explore the Prometheus components, specifically the Tooltip and adding it to my existing project.  I added the components to the bin folder and also added the Skins folder to the project but tooltip is not successfully loading the skins.  The tool tip is displaying just no skin.  I have it set up to display a tooltip over the top of an img in a photo gallery.  Do I need to place the Skins folder somewhere special within my existing project?

2. Advice on how to accomplish something like SmugMug
The application I'm learning asp.net and building at the same time is an event photography application.  When a user hovers over an image I'd like to animate a popup menu over the top corner of the image allowing them to add or remove the image from their favorites or add the image to their shopping cart.  I was looking to Tooltip to accomplish this but thought maybe there is a better approach.  Smugmug does this with a cool dynamic slider that slides onto the photo from the edge.

I'm working on learning javascript, Telerik and the Ajax components but it's going slow and my site remains in the dark ages!  ;-)

Thanks for your input!
Justin

3 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 27 Nov 2007, 03:10 PM
Hello Justin,

Have you followed all the steps provided in the RadControls "Prometheus" documentation (section RadControls 'Prometheus' Fundamentals / Controlling Visual Appearance)? If you did and still experience problems, please open a new support ticket and send us your project so we can check it.

Regarding the second question, indeed similar behavior can be achieved with RadToolTip. There are several demos that shows similar logic on our site - for example you can check the Client Side API and Load On Demand ones. Use them as a base and extend the logic further so it completely fit your requirements.





Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Justin
Top achievements
Rank 1
answered on 28 Nov 2007, 04:08 AM

I am using only the default skins.  I implemented the tooltip on another page in the same app and it works as expected so I took another look at the page that doesn't load the skin on the tooltip to see what's different.  I had placed the tooltip inside an <asp:View> control (as shown below).  When I placed the tootip outside of the multiview and view controls it then rendered correctly with the skin.  not sure if that is by design or not.

 
<asp:MultiView ID="GalleryView" runat="server" ActiveViewIndex="0">  
    <asp:View ID="LoResView" runat="server">  
 
                          
    <telerik:RadToolTip ID="RadToolTip2" runat="server" 
        height="240px" 
        Targetcontrolid="LoResImageDisplay"   
        IsClientID="true" 
        OffsetY="4" 
        sticky="true" 
        animation="Fade"                        
        Position="BottomCenter" 
        RelativeTo="Element" 
        Skin="Telerik" 
      
    >THIS IS THE CONTENT IN THE TOOLTIP...  
    </telerik:RadToolTip> 
.... 

One other issue I'm seeing consistently and haven't tracked down yet is the setting ShowCallout="false" is not working.  When I add it to the code above the callout continues to display but the behavior changes slightly.  The tooltip will fade in with a blank spot for the callout.  When the tooltip completes the fade-in then the callout becomes visible and pops into place.  When the tooltip closes the callout disappears immediately and then the rest of the tooltip fades out. 

I'm not sure what's happening there since the Server-Side API demo project doesn't exhibit the same behavior when the callout is turned off (running the demo on my local machine).

Thanks,
Justin
0
Georgi Tunev
Telerik team
answered on 28 Nov 2007, 10:01 AM
Hi Justin,

I tried to reproduce the problem locally but to no avail - can you please check the attached movie and let me know if I am missing something?

As for the second problem with the callout, we are aware of it and it occurs with certain skins only. We will do our best to have this problem fixed for the next update which will appear next week.



Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ToolTip
Asked by
Justin
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Justin
Top achievements
Rank 1
Share this question
or