Developer Forum »
Server-side scripting delimiters/Code nuggets
2 posts

In website projects, when <head runat="server"> is set, the output from any <%: %> tags is not rendered by the server. Adding <%: or <%= tags also means that webnodes doesn't render any generator comments like the one below:

<!-- GENERATOR: Webnodes --> 

Is this by design, or could this be fixed somehow?

120 posts

Hi, was not aware of this. We'll look into it!

BTW: a solution might be to disable the "Control Adapters", by excluding (or rename) the "/App_Browser" folder. This will bring back the default ASP.NET behaviour. But be aware, it will also disable the automatic relative address in certain asp.net controls. ( Which is needed for webnodes image controls when you are using friendly urls on contents with multiple "\" in the URL.

But as I said, we will look at it and try to make it work without any modification on you part.

Ole

1