Form::Footer Property
Returns a panel that represents the footer for the form.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
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.
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>
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.