How to load images initially into a view
Coreysan
1,736
Reputation points
I have an MVC Core project, where I'm working on a page for editing product inventory for an online store.
I have everything done for CRUD operations.
But I don't know how to load images initially. I know in classic ASP.net I use isPostBack. but for MVC Core, what is the best way to do that kind of thing?
In other words, when I click "EDIT" a product, I'd like the page to render with all the images and thumbnails first, and then I can do CRUD operations.
Any tips, or principles I can research?
Sign in to answer