I am using ASP.NET Core 6, jQuery and Bootstrap. I have a screen that has a left hand side menu, I wish the menu and top menu remain static and only the input details can scroll vertically.
See this screenshot:

My _layout markup:
@ViewData["Title"] [*]
Forensic Network Data System
- Home
- Privacy
- Patient Demographic Information
- Personal History
@{ Layout = "_Layout"; } Patient @await Html.PartialAsync("_PatientNav") @RenderBody() An extract of my patient.cshtml:
@{ Layout = "_LayoutPatient"; } @{ await Html.RenderPartialAsync("_Patient"); } And my patient details file (_Patient.cshtml):
Location: Forename: Surname: Date Of Birth: Previous Postcode: Specify: Gender: I tried something like the below for the left hand menu, didn't work -
Didn't really work.
Any help would be greatly appreciated.
Источник: https://stackoverflow.com/questions/781 ... p-net-core
Мобильная версия