ComponentOne AppView for ASP.NET WebForms
Elements / C1AppViewPage
In This Topic
    C1AppViewPage
    In This Topic

    The items contained in the C1AppViewPage are displayed in the content page of the C1AppView control. The markup used to create a C1AppViewPage should resemble the following:

    To write code in Source View

    <cc1:C1AppViewPage ID="C1AppViewPage1" runat="server"></cc1:C1AppViewPage>

    The C1AppViewPage as created above will not have any content attached to it. To create a C1AppViewPage with content, the markup should resemble the following:

    To write code in Source View

    <cc1:C1AppViewPage ID="C1AppViewPage1" runat="server">           
       <Content ID="Content1" runat="server">
          <Template>
           <cc1:C1ListView ID="ListView1" runat="server" Inset="true"> 
             <Items>
               <cc1:C1ListViewItem Text="Item 1"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 2"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 3"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 4"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 5"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 6"></cc1:C1ListViewItem>
               <cc1:C1ListViewItem Text="Item 7"></cc1:C1ListViewItem>
             </Items>
           </cc1:C1ListView>              
          </Template>
        </Content>
      </cc1:C1AppViewPage>

    This will create a C1AppViewPage that contains a basic display list. A C1AppViewPage can display any content, including text and other controls.