I have this section defined in my _Layout.cshtml
_Layout.cshtml
@RenderSection(\"Scripts\", false)
I can easily use it from a view:
Following the unobtrusive principle, it's not quite required for "_myPartial" to inject content directly into scripts section. You could add those partial view scripts into separate .js file and reference them into @scripts section from parent view.
.js