IN MVC, onchange of html select in Layout page not afffecting in cshtml.
Layout page


above code is like i am binding select option with dynamic data.
But if i write on change like below, Value selected as well in _Layout page, But not in its .CSHTML page. So charts and all in this .CSHTML not loading depends on selected option in dropdown.
Please assist with solution.

Sanwar RanwaRank #23 · 44.7K reputationPosted Aug 6, 2018, 2:15 AM EDT
Ruchi SharavatRank #1,714 · 885 reputationPosted Aug 6, 2018, 7:52 PM EDT