Someone please give an example of cascading dropdown list in Razor Pages without MVC. I am using Entity Framework,I have a Model and in Pages a .cshtml page and a corresponding .cshtml.cs page, there is no separate view and controller.
I have searched a lot on the web for this but all of the examples involved are showing MVC examples.
A list of countries has to be fetched from the database and based on the country the below State dropdown should populate from the db.
I am stuck with this since long time.