ComponentOne Scheduler for ASP.NET: Scheduler for ASP.NET AJAX Task-Based Help > Disabling the Reminder Form

Disabling the Reminder Form

By default the C1Schedule control displays a reminder form when an appointment is near completion. At run time, users can choose not to display a reminder by clearing the Reminder check box in the Appointment dialog box. You can disable the Reminder dialog box altogether by setting the ShowReminderForm property to False.

In the Properties Window

To hide the Reminder dialog box at design time, complete the following steps:

1.   Click once on the C1Schedule control to select it and navigate to the Properties window.

2.   Click the drop-down arrow next to ShowReminderForm and select False.

Your C1Schedule control will now not show the Reminder dialog box at run time.

In the Tasks Menu

To hide the Reminder dialog box at design time, complete the following steps:

1.   Right-click the C1Schedule control and then click Show Smart Tag to view the C1Schedule Tasks menu.

2.   In the C1Schedule Tasks menu, clear the Show reminder form check box.

Your C1Schedule control will now not show the Reminder dialog box at run time.

In Source View

To hide Reminder dialog box in Source view, add ShowReminderForm="False" to the <cc1:C1Schedule> tag. Once you've set this property, your markup will resemble the following:

 

<cc1:C1Schedule ID="C1Schedule1" runat="server" ShowReminderForm="False">

</cc1:C1Schedule>

Your C1Schedule control will now not show the Reminder dialog box at run time.

In Code

To hide the Reminder dialog box programmatically, add the following code into the Page_Load event:

      Visual Basic

C1Schedule1.ShowReminderForm = False

      C#

C1Schedule1.ShowReminderForm = false;

Your C1Schedule control will now not show the Reminder dialog box at run time.

 What You've Accomplished

You have learned how to set the ShowReminderForm property using the Properties window, Tasks menu, in Source view, and C# or Visual Basic code. The Reminder dialog box is now disabled in your C1Schedule control, and if you run your application the Reminder dialog box will no longer appear at run time.


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.