ComponentOne Scheduler for ASP.NET: Scheduler for ASP.NET AJAX Task-Based Help > Customizing C1Schedule's Appearance > Hiding the Status Bar

Hiding the Status Bar

By default the C1Schedule control displays a status bar at the bottom of the control. You can disable the status bar by setting the ShowStatusBar property to False.

In the Properties Window

To hide the status bar 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 ShowStatusBar and select False.

Your C1Schedule control will now not show a status bar at run time.

In the Tasks Menu

To hide the status bar 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 status bar check box.

Your C1Schedule control will now not show a status bar at run time.

In Source View

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

 

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

</cc1:C1Schedule>

Your C1Schedule control will now not show a status bar at run time.

In Code

To hide the status bar programmatically, add the following code into the Page_Load event:

      Visual Basic

C1Schedule1.ShowStatusBar = False

      C#

C1Schedule1.ShowStatusBar = false;

Your C1Schedule control will now not show a status bar at run time.

 What You've Accomplished

You have learned how to set the ShowStatusBar property using the Properties window, Tasks menu, in Source view, and C# or Visual Basic code. The status bar is now disabled in your C1Schedule control, and if you run your application the status bar will not be visible at run time.


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