Continuing on this question Can you use @section
in a partial view?, where the answer is no, I'll know if there is an alternative way to use @section
in a partial view.
I'll know this because I've got an wysiwyg editor (named CK editor) that I'll use multiple times. This need some scripts that I wouldn't repeat every time on each page. I'll keep it dry.
I'll also that the script tags are on the bottom of the rendered page (in the browser).