I just started learning about MVC4 and I am incorporating partial views into my project. The goal is to display both original and negative images within the partial view. Initially, the view will load with the original images, but upon clicking a toggle button, I want the view to switch to displaying negative images without having to reach out to the controller for new data.
Note: I already have access to both the original and negative images through the controller.
Can someone please guide me on how to achieve this functionality?