ComponentOne Window for ASP.NET AJAX: Window for ASP.NET AJAX Task-Based Help > Customizing the Status Bar > Showing the Status Bar

Showing the Status Bar

By default the C1Window control does not display a status bar at the bottom of the control. You can easily add the status bar in source markup, the designer, or in code using the StatusVisible property.

In Source View

To show the status bar add StatusVisible="True" to the <cc1:Window> tag so it appears similar to the following:

<cc1:C1Window ID="C1Window1" runat="server" StatusVisible="True">

    <CaptionButtons>

        <CollapseExpandButton Visible="False" />

        <CloseButton Visible="True" />

        <Icon Visible="True" />

        <MaximizeButton Visible="True" />

        <MinimizeButton Visible="True" />

        <PinButton Visible="False" />

        <ReloadButton Visible="False" />

    </CaptionButtons>

</cc1:C1Window>

In Design View

To show the status bar using the designer, navigate to the Properties window and set the StatusVisible property to True.

In Code

To show the status bar, add the following code to the Page_Load event:

      Visual Basic

C1Window1.StatusVisible = True

      C#

C1Window1.StatusVisible = true;


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