Author: phatlosz | Posted on: 1/2/2009 9:15:09 PM | Views : 380

I am building a month calendar, and have a user control that I've called a daycontrol.  I am going to dynamically add the number of day controls based on the number of days in the given month.  I am having a problem though.  I can't seem to get the intellisense to show the user control in the code behind page.  So when I try to run the site, I get the "Type 'daycontrol' is not defined" error. 

I know you have to have a reference to the control in the page, so I initally tried that.
<%@ Register src="~/Controls/ctrlDay.ascx" Go to the complete details ...