As.p.net MVC layout

bhatti.mohsin
 
on Aug 03, 2022 05:04 AM
82 Views

i want to call controller method from _layout.cshtml using Anchor tag Url.Action. Problem is highlighted menu becomes inActive when i click link.

is there any way to call controller from _layout.cshtml using ajax in order to stop refreshing whole _layout.cshtml page so that my selected menu remains active.

 

Thanks

Download FREE API for Word, Excel and PDF in ASP.Net: Download
KasimA
 
on Aug 03, 2022 05:05 AM

Please share your _layout html.