OK, I'm not going to start celebrating just yet, but I hope I may have worked out a solution to the ambiguous problem.
I was looking at my web.config to try and sort out the db connection problem when I spotted this:-
Code:
<pages>
<controls>
<add tagPrefix="atlas" namespace="System.Web.UI" assembly="System.Web.Extensions, ....... />
</controls>
.
.
.
</pages>
This was added in when I created an Ajax Enabled website and uses the same namespace, System.Web.UI, that my other controls use. So, I thought this may cause a conflict with the other controls I added at the page level.
So, I've added references to all the controls I had in my web pages into the web.config and removed the Reference directives on all the pages. I had to put the user control files in a seperate folder, I just called this UserControls, then you add a reference for each control
Code:
<add tagPrefix="yourownprefix" tagName="yourtagname" src="~/UserControls/your_control.ascx" />
Fingers crossed, that might solve the problem, but will keep you posted...
