Reputation: 27723
What gives? My previously created user control is visible, but the newly created one is not - intellisence doesn't show it,
I was under the impression that you don't need to put any using statements or references in the project if the web user control is in the same project.
UPDATED: both declarations look something like this:
public partial class CtrlClassName : System.Web.UI.UserControl
Upvotes: 1
Views: 2551
Reputation: 13127
Make sure you have the proper @register in Default.aspx. See here for reference.
Example:
<%@ Register TagPrefix="pfx" TagName="CtrlClassName" Src="Controls/CtrlClassName.ascx" %>
Upvotes: 2