I ran into a little problem. I am working on a line of If statement for a C# site,
if(Request.Url.ToString().Contains("domain/Details/92")) { <img src="some-image.jpg" class="if-image"> }
The problem I am having is the fact that my Id's are overlapping, so the if statement calls the image from "domain/details/2" into the "domain/details/92".
Any suggestions are much appreciated
Aucun commentaire:
Enregistrer un commentaire