This documentation is archived and is not being maintained.

Form::GetLinkedForms Method

Returns a set of forms that are linked to the current form.

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

public:
IList^ GetLinkedForms(
	int optimumPageWeight
)

Parameters

optimumPageWeight
Type: System::Int32

The total weight for the target device of the resulting linked forms must not exceed (used in pagination). If its value is -1, the total weight will not be considered when linked forms are added to the list.

Return Value

Type: System.Collections::IList
A set of forms that are linked to the current form.

When a form contains navigation elements that activate another form without interacting with the server, it is considered to be a linked form. There are several factors involved for a form to be considered linked. For example, if the following three stipulations are met, Form B is considered to be one of the forms linked to Form A:

  • Form A contains a Link control with its destination as Form B.

  • Form A does not contain an OnDeactivate event handler.

  • Form B has no OnActivate event handler.

The distinction is the set of all forms that do not require server interactions to transfer control between.

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0, 1.1
Show: