Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing User Control
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Missing User Control
Miscellaneous
Thread ID:
00912185
Message ID:
00912185
Views:
49
Well I've added a user control to a page. Made sure all the requirements were met according to the documentation. It is registered and exists as a uc tag in the HTML view. It has a declaration in the page code behind of the host page. Yet when I try to see the properties and object members using intellisence it does not appear to exist. Strangely enough when typing this. in the code behind I can see the object but intellisense does not expose anything beyond the distaccts object reference. Also, the task list window tells me the type cannot be found.

What is missing here?

HTML
<%@ Register TagPrefix="uc1" TagName="distaccts" Src="distaccts.ascx" %>
<uc1:distaccts id="Distaccts1" runat="server"></uc1:distaccts>
C#
public class reportacctprofile : System.Web.UI.Page
	{
		protected System.Web.UI.WebControls.Button submit;
		protected System.Web.UI.WebControls.HyperLink HyperLink1;
		protected distaccts Distaccts1;
Also, the control runs in the page fine and works perfectly. I just need to access values within it to do the next post.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Next
Reply
Map
View

Click here to load this message in the networking platform