How to load images initially into a view

Coreysan 1,736 Reputation points
2024-07-19T02:56:37.7366667+00:00

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?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,596 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.