PaTRiCKDRD
01-19-2007, 05:59 PM
Hi all!
After having worked with .net 2003 for a while,
I had to switch to .net 2005 for my new job,
so I though to port my old job's site to .net 2005,
however, I am facing some problems:
1)
<%@ Register TagPrefix="uc1" TagName="GroupTabs" Src="~/baseControls/GroupTabs.ascx" %>
doesn't work,
because on the line (same file):
<uc1:GroupTabs id="ctl_GroupTabs" runat="server"></uc1:GroupTabs>
I get the message:
"Error 2 Name 'ctl_AppTabs' is not declared."
What on earth is going on?
This code was working flawlessly in .net 2003!
2) When trying to establish a reference between two partial public classes (ascx files),
I get the error
Type 'Header' is not defined
(Header is the other page)
3) How am I supposed to split a table using a master page, when it should have open tags in the header section, which would close in the footer section, but .net 2005 doesn't let me compile?
Thanks in advance!
After having worked with .net 2003 for a while,
I had to switch to .net 2005 for my new job,
so I though to port my old job's site to .net 2005,
however, I am facing some problems:
1)
<%@ Register TagPrefix="uc1" TagName="GroupTabs" Src="~/baseControls/GroupTabs.ascx" %>
doesn't work,
because on the line (same file):
<uc1:GroupTabs id="ctl_GroupTabs" runat="server"></uc1:GroupTabs>
I get the message:
"Error 2 Name 'ctl_AppTabs' is not declared."
What on earth is going on?
This code was working flawlessly in .net 2003!
2) When trying to establish a reference between two partial public classes (ascx files),
I get the error
Type 'Header' is not defined
(Header is the other page)
3) How am I supposed to split a table using a master page, when it should have open tags in the header section, which would close in the footer section, but .net 2005 doesn't let me compile?
Thanks in advance!