Bewerken

Delen via


Form.GetLinkedForms(Int32) Method

Definition

Returns a set of forms that are linked to the current form. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 System::Collections::IList ^ GetLinkedForms(int optimumPageWeight);
public System.Collections.IList GetLinkedForms (int optimumPageWeight);
member this.GetLinkedForms : int -> System.Collections.IList
Public Function GetLinkedForms (optimumPageWeight As Integer) As IList

Parameters

optimumPageWeight
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.

Returns

A set of forms that are linked to the current form.

Remarks

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.

Applies to

See also