Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractValidationControl.MessageSource Property

Set a particular message source to be used for resolving error messages to display texts.

[Visual Basic]
Public Property MessageSource() As IMessageSource
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public IMessageSource MessageSource { public get; public set; }

Remarks

If not set, the control will probe the control hierarchy for containing controls implementing IValidationContainer and use the container's MessageSource.

See Also

AbstractValidationControl Class | Spring.Web.UI.Controls Namespace