More in this section

Forums / Developing with Sitefinity / Rad Scheduler Style

Rad Scheduler Style

3 posts, 0 answered
  1. Scott Williams
    Scott Williams avatar
    14 posts
    Registered:
    13 Oct 2009
    23 Nov 2009
    Link to this post
    Hi I'm trying to style up the rad Scheduler and I'm nearly there. I need to change one more thing. At the moment each of the links in the calendar link through to the day (see image below). Is there any way that I can stop this through? which files do I need to edit, thanks.
  2. Scott Williams
    Scott Williams avatar
    14 posts
    Registered:
    13 Oct 2009
    24 Nov 2009
    Link to this post
    bump
  3. Peter
    Peter avatar
    13 posts
    Registered:
    24 Sep 2012
    25 Nov 2009
    Link to this post
    Hello Scott,

    Please add the following javascript code to your page:

    <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">     
        <script type="text/javascript">  
            window.$ = $telerik.$;  
        
            function pageLoad() {  
                var scheduler = $find("<%= RadScheduler1.ClientID %>");  
                if (scheduler.get_selectedView() == Telerik.Web.UI.SchedulerViewType.MonthView) {  
                    $(".rsDateHeader").bind("click dblclick", function(e) {  
                        return false;  
                    });  
                }  
            }    
        </script>     
    </telerik:RadScriptBlock>   

    This way, when you are in Month View and click on a date header - nothing will happen.


    All the best,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Register for webinar
3 posts, 0 answered