I am trying to use the MVC Grid control in an existing MVC5 project. I have to keep UnobtrusiveJavaScriptEnabled to true in order for the rest of the website to work.
I have added the CDN for the ej.unobtrusive.min.js file with the other scripts links thatare required in the scripts section of the webpagethat I am using Syncfusion on:
@section scripts {
@Scripts.Render("~/Scripts/edit-consignments.js")
}
I didn't include the main jquery file on this page because it is included in the _Layout page. I took out the ScriptManager, as instructed.
I get the Grid Headers rendered but no data. So I tried a ListBox on the page instead, and all I get is a box outline. If I turn off UnobtrusiveJavaScriptEnabled in the web.config and add in the ScriptManager, it works. But I can't turn this off for the entire site - I need it everywhere but this page.
How do I get this to work?
Cindy