mardi 12 avril 2016

How to exclude a js file from a view- asp.net mvc

I'm developing an asp.net mvc application in which I use a _Layout file to contain all references of js files and css file. But I have only one view which I need to exclude a js file from it's references. What I can do is I dont put this file on _Layout and manually put it on all views except the view mentioned above. But I think it's too cumbersome. Is there any better approach to solve this issue?

Aucun commentaire:

Enregistrer un commentaire