This is a migrated thread and some comments may be shown as answers.

RadScheduler Client Side Events RecurrenceActionDialog

2 Answers 67 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
EZNet Support
Top achievements
Rank 1
EZNet Support asked on 08 Mar 2013, 02:31 PM
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 Answers, 1 is accepted

Sort by
0
EZNet Support
Top achievements
Rank 1
answered on 11 Mar 2013, 07:30 PM
bump for freshness?
0
Plamen
Telerik team
answered on 13 Mar 2013, 10:59 AM
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.
Tags
Scheduler
Asked by
EZNet Support
Top achievements
Rank 1
Answers by
EZNet Support
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or