I've been creating a number of custom templates in VS 2008 for situations where the page logic is pretty convoluted. That's working okay, but I've noticed a problem with the visual designer.
Once I add, say, an <umbraco:Item> control to the template Visual Studio no longer "recognizes" when I add an ASPNET control to the page. Put another way, the Template.master.designer.cs file is not getting updated.
I seem to recall there's a directive you can put at the top of the page file which tells Visual Studio to recognize the 'umbraco' tag...but I'm not sure what it is.
Creating Custom Templates in Visual Studio
I've been creating a number of custom templates in VS 2008 for situations where the page logic is pretty convoluted. That's working okay, but I've noticed a problem with the visual designer.
Once I add, say, an <umbraco:Item> control to the template Visual Studio no longer "recognizes" when I add an ASPNET control to the page. Put another way, the Template.master.designer.cs file is not getting updated.
I seem to recall there's a directive you can put at the top of the page file which tells Visual Studio to recognize the 'umbraco' tag...but I'm not sure what it is.
- Mark
when you're using the Umbraco web.config it registers the Umbraco controls in the web.config, within the <pages /> node.
Make sure you have that set correctly.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.