As you can see, inside the container div it also renders macros. Now the problem is one of those macros needs to write something after the container div and before the closing section tag.
Is this possible? I tried it with sections but it didn't work. I hope you understand what I mean, otherwise please ask. Thanks a lot!
I ended up storing the HTML I need outside the container div in the HttpContext.Current.Items and then reading them out again, and setting them to null again like this:
Render something outside where the macro is called
Okay I don't know if this is possible at all. Here's my problem. I'm building an one page site.
I have a template called:
which renders a partial called:
This partial loops through all the one page section nodes and renders it. Simplified it would be:
As you can see, inside the container div it also renders macros. Now the problem is one of those macros needs to write something after the container div and before the closing section tag.
Is this possible? I tried it with sections but it didn't work. I hope you understand what I mean, otherwise please ask. Thanks a lot!
I ended up storing the HTML I need outside the container div in the HttpContext.Current.Items and then reading them out again, and setting them to null again like this:
Partial:
Macro:
is working on a reply...