Disable hover effect for all calendar days

Thread is closed for posting
3 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 14 May 2007 Link to this post

    Requirements

    RadCalendar for ASP .NET version

    RadControls for ASP .NET AJAX version

    2.x and later



    2008.1.415 and later


    .NET version

    2.0 (RadCalendar for ASP .NET)


    2.0 and later (RadControls for ASP .NET AJAX)

    Visual Studio version

    2005/2008 (RadCalendar for ASP .NET)


    2005 and later(RadControls for ASP .NET AJAX)

    Programming language

    Javascript
    Browser support

    all supported by RadCalendar for ASP .NET

    all browsers supported by RadControls for ASP .NET AJAX

     
    PROJECT DESCRIPTION
    Sometimes you need to disable the hover effect applied by default on calendar day cells when the mouse moves over them. This project demonstrates how you can achieve the desired functionality by substituting the JavaScript method that determines whether hover behavior should be applied or not.

    By returning false we state that we do not want hover behavior at all.
  2. 1AB638F0-CCE6-4690-B552-5EE77859A39F
    1AB638F0-CCE6-4690-B552-5EE77859A39F avatar
    2 posts
    Member since:
    Aug 2007

    Posted 18 Oct 2007 Link to this post

    Hello Telerik,

    I use .NET version 1.1.

    Unfortunatly, this solution doesn't walk.

    Is there any other mean to disable the hover effect (cursor doesn't become a hand and no tooltip) applied by default on calendar day cells?

    Best regards,

    Rémi

  3. 97DF226D-579C-42A0-BB64-C01E3598A04D
    97DF226D-579C-42A0-BB64-C01E3598A04D avatar
    631 posts
    Member since:
    Sep 2012

    Posted 18 Oct 2007 Link to this post

    Hello Remi,

    The hover effect mentioned in this examples means changing the cell style (by the Skin css declaration or the DayOverStyle) which by default is applied when you hover a RadCalendar cell (you can review it here). The example demonstrates how this effect can be removed which causes the mouse cursor not to be changed (but the tooltip of the cells is still enabled). If you want to remove the tooltip  when you hover a cell, you should set the calendar property DayCellToolTipFormat="". Find attached our sample project for your reference.

    Best wishes,
    Petja
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.