Last post Jul 26, 2005 02:37 PM by wessamzeidan
Jul 18, 2005 01:10 PM|Markus.Fritz|LINK
In Visual Studio .NET 2003 it was possible to inherit a UserControl from another UserControl like this:
class ParentControl : UserControl
class ChildControl : ParentControl
But if I do this in Visual Studio 2005 Beta 2. I get the error message that "ParentControl" could not be found.
How can I do this in Visual Studio 2005????
Thanks in advance...
Jul 24, 2005 10:07 AM|wessamzeidan|LINK
Jul 26, 2005 01:34 PM|Markus.Fritz|LINK
Thank you, but if I do this I get the following error message:
The file '/WebSite1/App_Code/Parent.ascx.cs' is in the special directory 'App_Code', which is not allowed.
Jul 26, 2005 02:37 PM|wessamzeidan|LINK