image onclick event is not working
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
using System.Web.UI.WebControls; Image thumbImage = new Image(); thumbImage.Attributes.Add("onclick", "window.location.href='" + @"\images\" + filePath + "';"); but the resulting page is giving following error: Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly. Requested URL: /thumbdb/imagesWaterlilies.jpg -- modified at 4:58 Thursday 21st June, 2007
-<>-shoaib-<>-