H
Henry
I have a user control that inherits from a base user control class. I can
view and edit the base user control in the designer. However, my child user
control fails to load in the web form designer. The error looks like this:
The file failed to load in the Web Form designer. Please correct the
following error, then load it again: An exception occured while trying to
create an instance of baseUserControl. The exception was "Unable to cast
object of type myServicedComponentClass to type myServicedComponentClass. "
..
I get no build errors, and my webforms with all their user controls function
properly when browsed.
view and edit the base user control in the designer. However, my child user
control fails to load in the web form designer. The error looks like this:
The file failed to load in the Web Form designer. Please correct the
following error, then load it again: An exception occured while trying to
create an instance of baseUserControl. The exception was "Unable to cast
object of type myServicedComponentClass to type myServicedComponentClass. "
..
I get no build errors, and my webforms with all their user controls function
properly when browsed.