Radscheduler and reminders

8 posts, 0 answers
  1. Adam Corriher
    Adam Corriher avatar
    10 posts
    Member since:
    Nov 2006

    Posted 15 Feb 2013 Link to this post

    I am using a custom appointment page to replace the advanced edit and insert form.  I use a webpage that pops up into a radwindow.  I am attempting to add reminders to the scheduler and I am following the example for "Scheduler / External Edit in RadDock" in the demo section for radscheduler.  My question is when I save the appointment to my database and I save the reminder from the dropdown should I just save the value as an integer or use something else.  I have seen in other examples that the reminder should be a nvarchar(255) and saving a lot of text.  Based of the demo what is the best way to save the reminder.

    Let me know if more info is needed and please help when you can.

    Also, I can get the reminders to popup but I have to have two reminders setup for it to work.  If I have only one reminder showing it will not popup.
  2. Plamen
    Admin
    Plamen avatar
    3080 posts

    Posted 20 Feb 2013 Link to this post

    Hi Adam,

     
    You have to watch out that the Reminders-Enabled="true" property of RadScheduler is set. I am attaching a sample project where similar functionality is working as expected.

    Hope this will be helpful.

    All the best,
    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.
  3. Adam Corriher
    Adam Corriher avatar
    10 posts
    Member since:
    Nov 2006

    Posted 20 Feb 2013 Link to this post

    Thank you very much for the help.  The example is great.  But I am still having the issue with having to have two reminders due in order for the reminder popup to display.  Otherwise the reminder will not fire.  I am sure it is something to do with my setup.  I will copy my code here to assist with the issue.  Please help if you can. 
    <telerik:RadScheduler ID="RadSchedulerProjectSchedule" runat="server" DataEndField="END_DATE" DataStartField="START_DATE"
                                        DataKeyField="ID" DataSubjectField="JOB_NUMBER" AppointmentStyleMode="Default" EnableAdvancedForm="true"
                                        OverflowBehavior="Expand" AllowDelete="False" Localization-HeaderMultiDay="Resource" EnableViewState="true" 
                                        OnClientTimeSlotClick="OnClientTimeSlotClick" StartInsertingInAdvancedForm="false" ExportSettings-OpenInNewWindow="True"
                                        ToolTip='' TimeSlotContextMenuSettings-EnableEmbeddedSkins="False" ViewStateMode="Enabled" OnClientAppointmentContextMenuItemClicking="JSOnClientApptContextMenuItemClicked"
                                        EnableRecurrenceSupport="true" Reminders-Enabled="True" StartEditingInAdvancedForm="false" DataReminderField="Reminder">                       
                                        <MultiDayView NumberOfDays="10" />                       
                                        <TimelineView NumberOfSlots="14" ShowDateHeaders="True" ShowResourceHeaders="True" />
                                        <MonthView VisibleAppointmentsPerDay="5" AdaptiveRowHeight="false"/> 
                                        <AdvancedForm Modal="true"></AdvancedForm>
                                       <AppointmentContextMenus>
                                            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenuTask">
                                                <Items>
                                                    <telerik:RadMenuItem Text="Edit Task" Value="Edit" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Edit Assignment" Value="EditAssignment" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Calculate Schedule" Value="Calculate" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Go to Job" Value="JC" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Go to Schedule" Value="PS" />
                                                   <%-- <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Task Information" Value="TT" />--%>
                                                </Items>
                                            </telerik:RadSchedulerContextMenu>
                                            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                                                <Items>
                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Delete" Value="CommandDelete" />
                                                </Items>
                                            </telerik:RadSchedulerContextMenu>
                                            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenuDisabled">
                                                <Items>
                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" Enabled="false" />
                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                    <telerik:RadMenuItem Text="Delete" Value="CommandDelete" Enabled="false" />
                                                </Items>
                                            </telerik:RadSchedulerContextMenu>
                                        </AppointmentContextMenus>
                                        <TimeSlotContextMenuSettings EnableDefault="true" />
                                        <AppointmentContextMenuSettings EnableDefault="true" />
                                        <ExportSettings OpenInNewWindow="True" FileName="SchedulerExport">
                                            <Pdf PageTitle="Schedule" Author="Telerik" Creator="Telerik" Title="Schedule" />
                                        </ExportSettings>
                                    </telerik:RadScheduler>
  4. Plamen
    Admin
    Plamen avatar
    3080 posts

    Posted 22 Feb 2013 Link to this post

    Hi Adam,

     
    It is not quite clear what exactly is the issue observed -would you please elaborate a little bit the scenario so we could be more helpful. Please let me know if it is reproducible in the attached project or in the online demo and if yes I please let us know the exact steps to reproduce it so we could be more helpful.

    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.
  5. Adam Corriher
    Adam Corriher avatar
    10 posts
    Member since:
    Nov 2006

    Posted 22 Feb 2013 Link to this post

    Here is what is happening,..

    I create one appointment and set it with a reminder to go off 5 minutes before.  After a little bit when the reminder is supposed to popup it does not.  I create another appointment that is a little later in the day and set a reminder for it.  After a little bit when the reminder is supposed to popup for the second appointment, it does popup and the reminder window shows both appointments.  What is weird is that no matter what I do if I don't have more than one appointment with an expired reminder, the reminder popup will not display. 

    Below is a screenshot example.  The code I gave before was for just the scheduler control.  In the code behind I databind the scheduler to a dataset of appointments and set the reminder for each appointment on "AppointmentDataBound".  My reminder value is just a number to specify minutes before the reminder is triggered.  My insert and edit appointments window are custom.

    Have you ever seen this happen before?  Let me know if you need more info.  I started to use the demo but pretty much out on my own now and could not recreate in demo. 

  6. Plamen
    Admin
    Plamen avatar
    3080 posts

    Posted 26 Feb 2013 Link to this post

    Hi Adam,

     
    Thank you for providing more information about the issue. 

    Unfortunately we are not aware of such unusual behavior in RadScheduler and it seems that this behavior is connected with you custom implementation.

    I will recommend you to refer to this on-line demo  (or get the code from this Code Library) where the proper way to use Reminders with custom insert and edit form is provided and the reminders are triggered from only one appointment.

    Hope this will be helpful.

    Greetings,
    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.
  7. Adam Corriher
    Adam Corriher avatar
    10 posts
    Member since:
    Nov 2006

    Posted 26 Feb 2013 Link to this post

    Does it matter at all how the reminder value is saved and loaded?  I save it from a custom form which is totally designed by me and opened in a radwindow. with nothing to do with advanced template for editing and inserting.  Then I populate the calendar with the appointment through datasource. Then add the reminder to each appoinment through "appointmentdatabound" in code behind. 

    As long as the reminder is loaded with appointment should it not display no matter what or would a setting cause it not to popup?

    After further testing I found out that this issue I am having is only happening when using Chrome.  Firefox and IE do not have the issue and work properly. 
  8. Plamen
    Admin
    Plamen avatar
    3080 posts

    Posted 28 Feb 2013 Link to this post

    Hello Adam,

     
    This unusual behavior in Chrome is a known one and is already fixed in Q1 2013. Hope this will solve the issue.

    Kind 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