Radscheduler Reminder Problem

4 posts, 1 answers
  1. Kalpna
    Kalpna avatar
    37 posts
    Member since:
    Jun 2013

    Posted 23 Jul 2014 Link to this post

    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.
  2. Answer
    Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 28 Jul 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kalpna
    Kalpna avatar
    37 posts
    Member since:
    Jun 2013

    Posted 07 Aug 2014 Link to this post

    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.
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 12 Aug 2014 Link to this post

    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.

     
Back to Top