Hello. I tried to convert a project from ASP.NET 1.1 to 2.0 and found one big problem which stops the whole process. An .aspx page from the subfolder "admin" includes a user control from the subfolder "common". Both subfolders ("admin" and "common" are in the
root). root - admin -- aspx page - common -- user control The page works well when started from Visual Studio, but when the project is precompiled for deployment, the next error occurs: "The base class includes the field 'WebUserControl1', but its type (common_WebUserControl)
is not compatible with the type of control (ASP.common_webusercontrol_ascx)" I tried to use "Reference" in the .aspx page, but that doesn't work. Does anybody know any workaround for this?
net_prog
Member
77 Points
21 Posts
"The base class includes the field 'WebUserControl1', but its type (common_WebUserControl) is not...
Feb 07, 2006 06:41 PM|LINK