Tool Tips on Special Slots

21 posts, 0 answers
  1. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 26 Jul 2011 Link to this post

    I'm trying to implement Tool Tips on Special Slot styles and can't get anything to work properly.  Either the tooltip shows over the style of the slot (even when the mouse isn't over it), or doesn't show at all.

    Is this possible?  I'm using the same code as your demo site uses for the special slots demo.

    Thanks!
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 29 Jul 2011 Link to this post

    Hi Michael,

    The HighlightItem objects that represent the UI of the special slots are rendered in a panel that is IsHitTestVisible=false, e.g. they do not receive mouse events and you cannot display a tooltip on them. This is because the slots' panel has to be on top of the appointments' panel and they should not interfere with each other.

    Instead of using special slots you could use "special" appointments and handle them differently in the drag-drop behavior - for example, you could disable the drag and resize of the special appointments (this is easy) and when a "regular" appointment is dropped onto a "special" appointment, you could replace the "special", or do nothing, depending on your business logic. Or instead of replacement, you could hide the corresponding "special" appointment using the AppointmentsFilter functionality (let me know if you need an example about this feature, as the online demo example did not made it for the release).

    Greetings,
    Valeri Hristov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. DevCraft banner
  4. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2011 Link to this post

    Unfortunately, your suggestion will not work for us.  We need the Special Slot to stay even after an appointment is placed over it.  So in order to do what you suggested, I would need to change it to a special slot when a user drags an appointment or something.  That just isn't something I would want to do since every time the ScheduleView draws, I would need to determine how to drawn these Special Slots.

    Is there another way to do the Special Slot functionality other than HighlightItem?  I need the ability to use mouse events for tool tips and context menus.  I have a feeling I could duplicate what I did on the original Scheduler, but that was very clunky so I would rather not.

    If not, I would like to request this for the future extending of the special slots functionality for ScheduleView.

    The use case is, a special slot can have extra information that we want to display to the user.  In our application, these special slots are used for a work hours type of situation and a time slot reservation system.  Certain reservations can only be scheduled over with an appointment that has certain properties.  We used the tool tip to inform the user what type of appointment can be scheduled over the reservation, for now I can just put the necessary text in the special slot itself, but that will get messy quickly.  The context menu allows the user to edit the reservation or directly schedule an appointment over it.

    Thanks!
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 29 Jul 2011 Link to this post

    Hi Michael,

    Do you expect several appointments to be present in one reservation? For example, if the reservation (e.g. the special slot) is for 3 hours, would you want to put three 1 hour appointments inside?

    Greetings,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  6. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2011 Link to this post

    Yes, a customer could have a whole day reserved for only their appointments if they wanted to.  And only they could schedule any appointments on that time.  Other customers would see that reservation as ReadOnly, though, and can't see the tool tip or anything, just completely locked out...at least, that's our implementation, and I can handle most of it (already have).  This is the same scenario I used in the "How drag and drop works" thread, in that thread, though, I can't restrict appointments from being dropped or created on a Reservation due to custom drag drop behavior doesn't know about the special slots.  So this is just an extension of that request.

    I had implemented all of this in Scheduler, but we are moving to ScheduleView so I'm trying to do it the "proper" way with it rather than duplicating the rig job I did on Scheduler to get it all to work.
  7. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 29 Jul 2011 Link to this post

    I will have to discuss how to proceed with your requirements with the dev team, as we need to check the possible implications that could occur if we make the HighlightItem controls for the special slots IsHitTestVisible=true (I was wrong when I said that their container panel is IsHitTestVisible=false, the items have this property set, not the panel, which makes the things a little bit easier).

    I really don't want to push you to use hacks to get what you need from RadScheduleView and we will try to help you as much as we can, even if this requires us to add new APIs to the control.

    Best wishes,
    Valeri Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  8. Michael Lilly
    Michael Lilly avatar
    53 posts
    Member since:
    Apr 2010

    Posted 29 Jul 2011 Link to this post

    Great, thanks!

    I look forward to seeing what can be done with Special Slots in the future.
  9. Thomas
    Thomas avatar
    18 posts
    Member since:
    Jun 2010

    Posted 06 Jan 2012 Link to this post

    Hi, 

    I also need to add tooltip to Special Slots, do you have some news about this point ?

    Thanks

    Thomas
  10. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Jan 2012 Link to this post

    Hi Thomas,

    Thank you for sending your feedback.

    This feature is planned but at the moment we cannot specify a certain timeframe for implementing it.

    We're sorry for any inconvenience caused.

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  11. Martha
    Martha avatar
    26 posts
    Member since:
    Aug 2011

    Posted 08 Feb 2012 Link to this post

    I also need this feature.
    Which release is this planned for?
  12. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Feb 2012 Link to this post

    Hi Michael,

    I am afraid that "Special Slots Tooltips" feature is still not scheduled,  Q1 will be released next week and the tasks for Q2 are not planned yet.

    Thank you for the understanding.

    All the best,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  13. Sally
    Sally avatar
    6 posts
    Member since:
    Apr 2012

    Posted 25 May 2012 Link to this post

    Any news on this feature? We need this feature (to show Tooltips and context menu on SpecialSlot) as well. Anyone has a work-around solution before we get this feature in the future release?
  14. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 30 May 2012 Link to this post

    Hello Sally,

    We've logged this feature in our public issue tracking system, you can track its progress here.
    In the meantime, you can use the workaround demonstrated in the attached project, note that in order to show the tooltips, you should disable MouseOverHighlightStyle,

    Hope this helps.

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  15. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 30 May 2012 Link to this post

    Hello,

    Here is the attachment.

    Regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  16. Sally
    Sally avatar
    6 posts
    Member since:
    Apr 2012

    Posted 31 May 2012 Link to this post

    Thanks! That really helps to solve my problem.
  17. Sally
    Sally avatar
    6 posts
    Member since:
    Apr 2012

    Posted 05 Jun 2012 Link to this post

    Yana,

    I found a very strange problem with SpecialSlot. I have implemented my custom SpecialSlot. If I put a break point at Copy or CopyFrom function of the Slot, I can see it get hit all the time, even after the screen is fully drawn and no movement on the screen.

    I've also noticed the scroll becomes really sluggish when I have many special slots on the screen. Not sure the two things (endless call for the Copy function) are related.  

    You can download the sample project (based on your original project) to see this problem:

    https://skydrive.live.com/?cid=ba61313dacad20a5#!/?cid=BA61313DACAD20A5!cid=BA61313DACAD20A5&id=BA61313DACAD20A5!133
  18. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Jun 2012 Link to this post

    Hello Sally,

    Firing the Copy/CopyFrom methods is expected  - this is part of the internal logic of RadScheduleView control. You are right that creating so many special slots is the reason for the performance issue in your project. We are aware of the problem, but at the moment we cannot provide any workaround except to reduce the amount of the special slots.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  19. Sally
    Sally avatar
    6 posts
    Member since:
    Apr 2012

    Posted 06 Jun 2012 Link to this post

    Thanks Yana for your quick response. The performance is really crucial to our application. What would be the alternative if we do not use Special slots?  We need the visual effect to show time binds that can stay behind Appointments. Using special slots looks like a perfect way to achieve that if the performance is acceptable. 
  20. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Jun 2012 Link to this post

    Hello Sally,

    I am afraid that at the moment we cannot provide an alternative to special slots.  You could try to reduce their amount.

    We are sorry for the inconvenience.

    All the best,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  21. Ivo
    Ivo avatar
    38 posts
    Member since:
    Jul 2011
  22. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 23 Dec 2013 Link to this post

    Hello Stefan,

    Thank you for sending your feedback on the matter.

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
DevCraft banner