Timer and RadScheduler

2 posts, 0 answers
  1. xtreme
    xtreme avatar
    22 posts
    Member since:
    May 2007

    Posted 04 Nov 2011 Link to this post

    Hi, I have a Timer and a RadScheduler that uses WebService for data. I want to refresh a Radschduler on the event of Timer_Tick. However, if the RadSchduler is in Insert Mode(Using Advance Template), I would like to cancel that. So, how do I check to know that the RadScheduler is in Insert Mode? Thanks.
  2. Ivana
    Ivana avatar
    657 posts

    Posted 09 Nov 2011 Link to this post

    Hello Xtreme,

    You could subscribe to the OnClientFormCreated client-side event and make the check for an Advanced Insert/Edit Form as in the example below:
    function clientFormCreated(sender, args) {
            var mode = args.get_mode();
            if (mode == Telerik.Web.UI.SchedulerFormMode.AdvancedInsert) {
            } else if (mode == Telerik.Web.UI.SchedulerFormMode.AdvancedEdit) {

    For more information about accessing the controls in the Advanced Edit/Insert Form of the RadScheduler, you could refer to the following link: RadScheduler: Customizing the Advanced Form using jQuery and CSS and Handling the Advanced Form from Code-Behind.

    Hope this helps.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top