dsa1971:
Is it possble to register a user control in a web.config that is located in a subfolder of the website's root web.config? If I register it in the root web.config with a prefix of "xx" it works fine when I drag it on a page. But, if I register it in a web.config in a subfolder it does not. It will just register it on the page with the prefix "uc1" I'm guessing this is just how it is setup in asp.net
Based on my expeience, if you want to regist the control in web.config avoid registing it in every page. I think you should notice the following options:
1. To regist the control in web.config, it doesn't accept the relate path. you should add the User control to the sub folder.
2. You should locate the web.config and the user control in different place.
3. The page will execute the latest config file and apply the relate policy to it. this is the reason that it allow one or more config file in one project.
How to regist the user control in web.config, please refer to the following links:
1. http://weblogs.asp.net/scottgu/archive/2006/11/26/tip-trick-how-to-register-user-controls-and-custom-controls-in-web-config.aspx
2. http://msdn.microsoft.com/en-us/library/4saat087.aspx