G
Guest
Hi guys
Ok, Ive got a user control on my page, and basically all I wanna do is for
the page to grab one of the public variables.
The control is referenced as so in the .aspx file...
at the top...
<%@ Register TagPrefix="rolo" TagName="dartsUC_rolodexsearch"
src="dartsUC_rolodexsearch.ascx" %>
then in the html...
<rolo:dartsUC_rolodexsearch id="dartsUC_rolodexsearch1"
runat="server"></rolo:dartsUC_rolodexsearch>
then in the codebehind....
protected dartsUC_rolodexsearch roloSearch;
however I try that line in code-behind, it tells me that type or namespace
"dartsUC_rolodexsearch" could not be found.
What am I doing wrong?!!
Cheers
Dan
Ok, Ive got a user control on my page, and basically all I wanna do is for
the page to grab one of the public variables.
The control is referenced as so in the .aspx file...
at the top...
<%@ Register TagPrefix="rolo" TagName="dartsUC_rolodexsearch"
src="dartsUC_rolodexsearch.ascx" %>
then in the html...
<rolo:dartsUC_rolodexsearch id="dartsUC_rolodexsearch1"
runat="server"></rolo:dartsUC_rolodexsearch>
then in the codebehind....
protected dartsUC_rolodexsearch roloSearch;
however I try that line in code-behind, it tells me that type or namespace
"dartsUC_rolodexsearch" could not be found.
What am I doing wrong?!!
Cheers
Dan