control. You should be able to load your ascx page in the designer if you
"Munish Sethi" <msethi@houston.deepwater.com> wrote in message
news:eQCXkZ$nDHA.744@tk2msftngp13.phx.gbl...
> I have a User Control with a Code behind class.
>
> If the Code behind class inherits from UserControl class there are no
> problems within VS 2003, I can double click on the User Control (in VS
> 2003 solution explorer) and bring it up without getting any warnings in
> VS Design time environment.
>
> If, however the Code behind class inherits from another class (say
> MyClass1), which in turn inherits from UserControl class, I get the
> following warning in VS 2003 designer when I try to bring up the User
> Control in VS design environment
>
> ---------------------------
> Microsoft Development Environment
> ---------------------------
> The file could not be loaded into the Web Forms designer. Please correct
> the following error and then try loading it again:
>
> Type Abstract
>
> Make sure all of the classes used in the page are built or referenced in
> the project. Click Help for more information.
> ---------------------------
> OK Help
>
> Basically I have a bunch of User Controls, all of which inherit from a
> Base Class, the Base Class in turn Inherits class UserControl.
> Application works no problem, however the design time experience is
> lacking. I am unable to display the User Control in the "Design" tab
> inside VS 2003; after the warning is displayed I can see my control in
> HTML mode only.
>
>
> Any pointers on how to overcome this issue?
>
> Regards
>
> Munish
>
>
> <b> Munish </b>
>
> *** Sent via Developersdex
http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!