Form::Footer Property

 

Returns a panel that represents the footer for the form. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(false)]
[BrowsableAttribute(false)]
property Panel^ Footer {
	Panel^ get();
}

Property Value

Type: System.Web.UI.MobileControls::Panel^

The Panel that represents the footer for the form.

The following code example demonstrates how to use the Footer property to access the contents of the FooterTemplate.

This example is from a larger example for the ControlToPaginate property.

No code example is currently available or this language may not be supported.

In this example, since no filter is specified for the <Choice> element, it will always be the SelectedChoice. To specify a filter change the element to: <Choice Filter="isPocketIE"> and include a Web.config file that defines the filters you want to use.

<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
<!-- The first Form -->
    <mobile:Form ID="Form1" Runat="server" 
        Paginate="true" OnActivate="Form_Activate" 
        OnPaginated="Form_Paginated">
        <mobile:link ID="Link1" Runat="server" 
            NavigateUrl="#Form2">
            Go To Other Form
        </mobile:link>
        <mobile:Label ID="Label1" Runat="server">
            Welcome to ASP.NET
        </mobile:Label>
        <mobile:textview ID="txtView" Runat="server" />

        <mobile:DeviceSpecific ID="DevSpec" Runat="server">
            <Choice>
                <FooterTemplate>
                    <mobile:Label runat="server" id="lblCount" />
                </FooterTemplate>
            </Choice>
        </mobile:DeviceSpecific>

    </mobile:Form>

    <!-- The second Form -->
    <mobile:Form ID="Form2" Runat="server" 
        Paginate="true" OnPaginated="Form_Paginated">
        <mobile:Label ID="message2" Runat="server">
            Welcome to ASP.NET
        </mobile:Label>
        <mobile:link ID="Link2" Runat="server" 
            NavigateUrl="#Form1">Back</mobile:link>
    </mobile:Form>
</body>
</html>

.NET Framework
Available since 1.1

SelectedChoice
Form Class
System.Web.UI.MobileControls Namespace
Introduction to the Form Control
DeviceSpecific Element
<Choice> Element

Return to top
Show: