[3:01:59 p.m.] Lin Li: RadScheduler cant get start time correct when switch between 'Day' and 'Week'

2 posts, 0 answers
  1. James Shelton-Agar
    James Shelton-Agar avatar
    108 posts
    Member since:
    May 2008

    Posted 16 Jul 2009 Link to this post

    Hi, we use RadToolBar to create our own RadScheduler header, Scheduler set show 24hr and start time is 8am, if we scroll down like 2pm and click 'week', it should start from 8am as well, but we get start from 2pm, do you have any solution for that?
  2. Peter
    Peter avatar
    6637 posts

    Posted 17 Jul 2009 Link to this post

    Hi James,

    Here is one possible workaround using jQuery:
    <script type="text/javascript">  
        window.$ = $telerik.$;  
        function OnClientButtonClicked(sender, eventArgs) {  
            document.getElementById("HiddenField1").value = "true";  
        $(document).ready(function() {  
            if (document.getElementById("HiddenField1").value == "true") {  
                document.getElementById("HiddenField1").value = "false";  
        <asp:HiddenField ID="HiddenField1" runat="server" /> 
        <telerik:RadToolBar ID="RadToolBar1" runat="server" OnClientButtonClicked="OnClientButtonClicked" 

    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.
Back to Top