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

Radscheduler Reminder Problem

3 Answers 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kalpna
Top achievements
Rank 1
Kalpna asked on 23 Jul 2014, 07:43 AM
Hello all,

I am using RadScheduler with reminder. When i schedule an recurring activity with an alert. Then Alert window will appear for me. From the Alert window i can open my activity. But it will open all occurrence of the recurring activity. And if i do any changes in that activity then changes will applied to all occurrences. Is there any way that if i want to open the recurring activity from an alert window then it will ask for Open Single Occurrence of the activity  or Open all occurrence of the activity.

3 Answers, 1 is accepted

Sort by
0
Accepted
Boyan Dimitrov
Telerik team
answered on 28 Jul 2014, 08:55 AM
Hello,

Indeed this behavior is actually a misbehavior and the change should be applied to the current occurrence only instead of the entire appointment series. Please use the following workaround in order to avoid this issue.

<script type="text/javascript">
    Telerik.Web.UI.ReminderDialog.prototype._initializeButtons = function () {
 
        var that = this;
        $(".rsRemTitleBarCloseBtn", this.get_element())
            .click(function (e) {
                $.raiseControlEvent(that, "close", {});
                $telerik.cancelRawEvent(e);
            })
            .attr("href", "#");
 
        $(".rsRemDismissAllBtn", this.get_element())
            .click(function (e) {
                $.raiseControlEvent(that, "dismiss", { reminders: that._reminders, hasMoreReminders: false });
                $telerik.cancelRawEvent(e);
                that._unregisterReminders(that._reminders);
            })
            .attr("href", "#");
 
        $(".rsRemOpenItemBtn", this.get_element())
            .click(function (e) {
                that._getSelectedReminders()[0]._owner.edit()
                $telerik.cancelRawEvent(e);
            })
            .attr("href", "#");
 
        $(".rsRemDismissBtn", this.get_element())
            .click(function (e) {
                var selectedReminders = that._getSelectedReminders();
                var hasMoreReminders = that._reminders.length > selectedReminders.length;
                $.raiseControlEvent(that, "dismiss", { reminders: that._getSelectedReminders(), hasMoreReminders: hasMoreReminders });
                $telerik.cancelRawEvent(e);
                that._unregisterReminders(selectedReminders);
            })
            .attr("href", "#");
 
        $(".rsRemSnoozeBtn", this.get_element())
            .click(function (e) {
                var selectedReminders = that._getSelectedReminders();
                var snoozeMinutes = parseInt(that._getSnoozeTimeComboBox().get_value(), 10);
                $.raiseControlEvent(that, "snooze", { reminders: selectedReminders, minutes: snoozeMinutes });
                $telerik.cancelRawEvent(e);
                that._unregisterReminders(selectedReminders);
            })
            .attr("href", "#");
    };
</script>

In the meantime I logged this as a bug in our system for fixing.

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kalpna
Top achievements
Rank 1
answered on 07 Aug 2014, 08:57 AM
Hello Boyan Dimitrov,

The problem of Open Activity is solved. But now Dismiss, Dismiss All, Close functionality is not working. Kindly provide the solution for this.
0
Boyan Dimitrov
Telerik team
answered on 12 Aug 2014, 08:33 AM
Hello,

I tested the scenario and after the modification the Dismiss, Dismiss All, Close functionalities are working as expected.

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
Kalpna
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Kalpna
Top achievements
Rank 1
Share this question
or