System.Web.UI.WebControls.BaseValidator.OnInit C# (CSharp) Method

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void
		override void OnInit (EventArgs e)
		{
			/* according to an msdn article, this is done here */
			if (Page != null) {
				Page.Validators.Add (this);

#if NET_2_0
				Page.GetValidators (ValidationGroup).Add (this);
#endif
			}
			base.OnInit (e);
		}