private void Page_Load(object sender, System.EventArgs e) 
		{
			System.Web.UI.HtmlControls.HtmlForm frm = (HtmlForm)FindControl("Form1");
			GHTTestBegin(frm);

			GHTSubTestBegin("ValidationPropertyAttribute inherited into Custom Control"); 
			try 
			{ 
				MyTextBox2 myTextBox2 = new MyTextBox2(); 
				myTextBox2.ID = "MyTextBox2"; 
				GHTActiveSubTest.Controls.Add(myTextBox2); 
				MyControl MyControl1 = new MyControl(); 
				GHTActiveSubTest.Controls.Add(MyControl1); 
				RegularExpressionValidator1.ControlToValidate = "MyTextBox2"; 
				GHTSubTestAddResult(GHTActiveSubTest.ID); 
			} 
			catch (Exception ex) 
			{ 
				GHTSubTestUnexpectedExceptionCaught(ex); 
			} 
			GHTSubTestEnd();
			GHTTestEnd();
		}
        private void Page_Load(object sender, System.EventArgs e)
        {
            System.Web.UI.HtmlControls.HtmlForm frm = (HtmlForm)FindControl("Form1");
            GHTTestBegin(frm);

            GHTSubTestBegin("ValidationPropertyAttribute inherited into Custom Control");
            try
            {
                MyTextBox2 myTextBox2 = new MyTextBox2();
                myTextBox2.ID = "MyTextBox2";
                GHTActiveSubTest.Controls.Add(myTextBox2);
                MyControl MyControl1 = new MyControl();
                GHTActiveSubTest.Controls.Add(MyControl1);
                RegularExpressionValidator1.ControlToValidate = "MyTextBox2";
                GHTSubTestAddResult(GHTActiveSubTest.ID);
            }
            catch (Exception ex)
            {
                GHTSubTestUnexpectedExceptionCaught(ex);
            }
            GHTSubTestEnd();
            GHTTestEnd();
        }