2
Answers

how to get image source

how to get image source by clicking on image actully that images are stored in images folder ..when i click on particular image i want that selected image path how?

Answers (2)

-1
Photo of Ankit Sharma
NA 8.8k 141k 7y
Hi Nazmul,
 
you can install sweetalert using Nuget packagemanager console
 
Install-Package SweetAlert 
 
use this link to know how to use sweet alert in razor pages
 
http://www.c-sharpcorner.com/article/introduction-to-sweetalert-library-in-asp-net-mvc-razor/ 
 
you can also get some alert box examples here
 
https://limonte.github.io/sweetalert2/ 
 
https://sweetalert.js.org/docs/
-1
Photo of Pramod Thakur
NA 7.3k 791.7k 7y
Follow this article.
 
http://www.c-sharpcorner.com/UploadFile/4d9083/sweet-alert-with-mvc/