Asp.net is referenced in code custom user control can run but compiles the site

Brother novice, hope to God with us!

Such as title, first have to create their own user controls aaa.ascx, intended to reference the aaa.ascx controls in the user control bbb.ascx, because a number to see the code operation decision of the aaa.ascx, so there is no choice added directly in the HTML page, and want to create dynamic in the code.
Use the following statement:
private ASP.aaa_ascx uc = new ASP.aaa_ascx();
Then running when there is no problem, but in the generation site will error error
1 namespace "ASP" does not exist in the type or namespace name "aaa_ascx" (whether the lack of an assembly reference?)

In addition to the bbb.ascx HTML page and
<%@ Reference Control="aaa.ascx" %>This statement
The HTML page has no other content, other content should be in the site operation, determined by your code generation.

private ASP.aaa_ascx uc = new ASP.aaa_ascx();The statement above private and ASP with or without the addition of the result is the same, run through, failed to generate.

For God!

Started by Catherine at November 13, 2016 - 10:36 AM

Artificial stickies, God

Posted by Catherine at November 17, 2016 - 11:11 AM

Artificial stickies, God

Posted by Catherine at November 19, 2016 - 11:37 AM

Artificial stickies, God

Posted by Catherine at November 29, 2016 - 12:26 PM