G
Guest
Hello.
I have a VS 2003 C# project. A few days ago I added a control in the
designer and everything worked fine. Today I tried to add a control to
the same form, and even though the control gets added just fine in the
designer (WYSIWYG and HTML views), the control never gets hooked up to
the .cs page, ie in the definitions section. I realize I could
manually add the control into the definitions area of the code-behind,
but since what I want to add is a custom validator, I am guessing I
would have to alter the InitializeComponent routine, and I'm scared to
do that.
As an FYI have tried adding different kinds of controls. None of them
work.
Has anyone seen this behavior before?
Thanks.
I have a VS 2003 C# project. A few days ago I added a control in the
designer and everything worked fine. Today I tried to add a control to
the same form, and even though the control gets added just fine in the
designer (WYSIWYG and HTML views), the control never gets hooked up to
the .cs page, ie in the definitions section. I realize I could
manually add the control into the definitions area of the code-behind,
but since what I want to add is a custom validator, I am guessing I
would have to alter the InitializeComponent routine, and I'm scared to
do that.
As an FYI have tried adding different kinds of controls. None of them
work.
Has anyone seen this behavior before?
Thanks.