Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.Controller Property

Gets or sets controller for the page.

[Visual Basic]
Public Property Controller() As Object
   Public Get
   End Get
   Public Set
   End Set
End Property
public object Controller { public get; public set; }

Property Value

Controller for the page. Defaults to the page itself.


Application pages should shadow this property and change its type in order to make calls to controller within the page as simple as possible.

If external controller is not specified, page will serve as its own controller, which will allow data binding to work properly.

See Also

Page Class | Spring.Web.UI Namespace