Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Page.LoadControl(String) Method

Obtains a UserControl object from a user control file and injects dependencies according to Spring config file.

[Visual Basic]
Protected Overridable Overloads Shadows Sub LoadControl( _
   ByVal virtualPath As String _
new protected virtual Control LoadControl(
   string virtualPath


The virtual path to a user control file.

Return Value

Returns the specified UserControl object, with dependencies injected.

See Also

Page Class | Spring.Web.UI Namespace | Page.LoadControl Overload List