I came accross a weird problem with asp.net. I have my all user controls registered in web.config file. I have placed my all user controls under controls sub-directory of the application.
Now its fine when I use user controls in the web pages.
Now when I use any user control inside another user control in the same controls sub-directory I get following error.The page '/CustomControlWebSite/Default.aspx' cannot use the user control '/CustomControlWebSite/WebUserControl.ascx', because it is registered in web.config and lives in the same directory as the page.
Has anyone came accross this issue.
View Complete Post