S
Steve
Hello. I'm using asp.net 2.0. I have a user control with my own base class
The structure looks like this:
MyNewControl
MyUserControlBaseClass
System.Web.UI.UserControl
When I compile the line of code below in MyNewControl, everything works
great. However, when I compile it in MyUserControlBaseClass, then I get the
errror "type MlsFromToFields not defined".
Dim ctrlFromTo As MlsFromToFields =
CType(Page.LoadControl("~/Search/Controls/MlsFromToFields.ascx"),
MlsFromToFields)
How can I move this to my MyUserControlBaseClass??
Thank you very much for your response!
The structure looks like this:
MyNewControl
MyUserControlBaseClass
System.Web.UI.UserControl
When I compile the line of code below in MyNewControl, everything works
great. However, when I compile it in MyUserControlBaseClass, then I get the
errror "type MlsFromToFields not defined".
Dim ctrlFromTo As MlsFromToFields =
CType(Page.LoadControl("~/Search/Controls/MlsFromToFields.ascx"),
MlsFromToFields)
How can I move this to my MyUserControlBaseClass??
Thank you very much for your response!