Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UserControl.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 _
)
[C#]
new protected virtual Control LoadControl(
   string virtualPath
);

Parameters

virtualPath
The virtual path to a user control file.

Return Value

Returns the specified UserControl object, with dependencies injected.

See Also

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