RadScheduler Client Side Events RecurrenceActionDialog

3 posts, 0 answers
  1. EZNet Support
    EZNet Support avatar
    12 posts
    Member since:
    May 2008

    Posted 08 Mar 2013 Link to this post

    Is there a known issue where on the RecurrenceActionDialog close event that eventArgs.get_editSeries();
    only works on the Editing an Appoitntment, resize and move always return false for this property.

    /*
     * EVENT HANDLER: RECURRENCE ACTION DIALOG CLOSE.
    */
    function OnClientRecurrenceActionDialogClosed(sender, eventArgs) {
     
        //SET THE FLAG TO FALSE TO RESET.
        bitEditingSeries = false;
     
        alert(eventArgs.get_editSeries());
     
        //FIND OUT WHAT TYPE OF RECURRENCE WE ARE EDITING.
        switch (eventArgs.get_recurrenceAction()) {
     
             
     
            case Telerik.Web.UI.RecurrenceAction.Edit:
                //alert("The appointment will be edited");
                // open advanced form and put it into edit mode for single exception
     
                bitCreateException = !eventArgs.get_editSeries();
     
                break;
     
            case Telerik.Web.UI.RecurrenceAction.Delete: //DELETE
     
                //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
                switch (eventArgs.get_editSeries()) {
                    case true:
     
                        //EDITING THE SERIES.
                        bitEditingSeries = true;
     
                        break;
     
                    case false:
     
                        //CREATE EXCEPTION
                        bitEditingSeries = false;
     
                        break;
                }
                break;
     
            case Telerik.Web.UI.RecurrenceAction.Resize: //RESIZE
     
                alert(eventArgs.get_editSeries());
                //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
                switch (eventArgs.get_editSeries()) {
                    case true:
     
                        //EDITING THE SERIES.
                        bitEditingSeries = true;
     
                        break;
     
                    case false:
     
                        //CREATE EXCEPTION
                        bitEditingSeries = false;
     
                        break;
                }
     
                break;
            case Telerik.Web.UI.RecurrenceAction.Move:  //MOVE
     
                alert(eventArgs.get_editSeries());
                //CHECK TO SEE IF THEY WANT TO EDIT THE SERIES
                switch (eventArgs.get_editSeries()) {
                    case true:
     
                        //EDITING THE SERIES.
                        bitEditingSeries = true;
     
                        break;
     
                    case false:
     
                        //CREATE EXCEPTION
                        bitEditingSeries = false;
     
                        break;
                }
     
                break;
     
        }
    }
  2. EZNet Support
    EZNet Support avatar
    12 posts
    Member since:
    May 2008

    Posted 11 Mar 2013 Link to this post

    bump for freshness?
  3. Plamen
    Admin
    Plamen avatar
    3080 posts

    Posted 13 Mar 2013 Link to this post

    Hello,

     

    I have inspected the issue and it seems like a but in RadScheduler. I have logged it for fixing and we will make our best to fix it as soon as possible- you can follow its status and vote for it here.

    Please excuse us for the inconvenience caused.

    Regards,
    Plamen
    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