Problem in datalist
-
sir, i want to display the pictures in new window with its original size. I am using Datalist in which pictures are in small size i want to display these photos 0n mouse click in its original size in new window please help me
-
sir, i want to display the pictures in new window with its original size. I am using Datalist in which pictures are in small size i want to display these photos 0n mouse click in its original size in new window please help me
If you know the location (http://www.codeproject.com/images/standard/logobottom.gif for example) then you can set following code in the event:
Response.Write("window.open(http://www.codeproject.com/images/standard/logobottom.gif);");
As you see, i'm in fact writing some javascript code on my page which is going to open a new window, as the url of that window i set the image url. You can now also set some javascript attributes if you want. Greetings, KrIstOfK