protected override void When()
 {
     base.When();
     ResultControl = InputControl.FindParentControlOfType <TextBox>();
 }
 protected override void When()
 {
     base.When();
     ResultControl = InputControl.FindParentControlOfType <HtmlGenericControl>();
 }