M
Madison
Hello,
I'm working in project that I had created composite control to verify
textbox with RequiredFieldVlidator or CompareValidator or
RegularExpressionValidator. The composite control working fine on the regular
web form but when I place composite control in User Control and place User
Control in web form then I got error message: System.NullReferenceException
was unhandled by user code
Message="Object reference not set to an instance of an object." when I try
to call Composite control in User Control from web form. I do not get any
error if I call some regular asp:TextBox in user control from web form.
Thank you for any advice.
I'm working in project that I had created composite control to verify
textbox with RequiredFieldVlidator or CompareValidator or
RegularExpressionValidator. The composite control working fine on the regular
web form but when I place composite control in User Control and place User
Control in web form then I got error message: System.NullReferenceException
was unhandled by user code
Message="Object reference not set to an instance of an object." when I try
to call Composite control in User Control from web form. I do not get any
error if I call some regular asp:TextBox in user control from web form.
Thank you for any advice.