Display svg file in browser
-
Hello, I am new to C# and asp.net. I want to display a svg file which in created in one of folder on local machine. Please can anybody help with the code how to set the response object to display the svg file also taking the local path in to consideration. Regards Rajesh B
-
Hello, I am new to C# and asp.net. I want to display a svg file which in created in one of folder on local machine. Please can anybody help with the code how to set the response object to display the svg file also taking the local path in to consideration. Regards Rajesh B
-
How do you want to display your file. Searching files into a folder is a very basic task. Easy to find an answer in googling. Regards
I want to diplay it in same way as when you open it in browser or firefox. it should look like an image.
-
Hello, I am new to C# and asp.net. I want to display a svg file which in created in one of folder on local machine. Please can anybody help with the code how to set the response object to display the svg file also taking the local path in to consideration. Regards Rajesh B
What you have asked, is more an ASP.NET issue than a C# one. I will say, though, that you would probably not want to set the response object, rather you could direct the user to a page which would display the SVG using a method similar to one of these[^].
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.