Skip to content

Layout not render the scripts  #1

@brulio93

Description

@brulio93

Hi there! I'm using falafel render scripts and i'm having a problem, i'm using ajax.actionlink to make ajax calls to the partial views, and each partial view has in it scripts that are used for differents functions on each partial view, but when i try to load the scripts at the bottom of the Layout not work as expected.
This is how i'm using render on the partial view:

@{ 
    Html.AddScript("~/bundles/MyScriptLogic", AssetHierarchy.Page);
}

And the layout is like this:

@Html.RenderScripts()
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions