Seven price
asked on
image click
Yes I have a image thumbnail when clicked it will open a new window to see the image.
I want to embed the image so when clicked on it will open on the same page. or even another page in my master page.
<a href='<%# Request.ApplicationPath %><%# Eval("Filename", "../Gallery/{0}") %>' target="_blank">
filename is returns image name then Gallery returns the folder name ((/2008611115528)).JPG and 0 returns from my select statement the is of the image. But not sure how to return large image within the masterpage or another page.
I want to embed the image so when clicked on it will open on the same page. or even another page in my master page.
<a href='<%# Request.ApplicationPath %><%# Eval("Filename", "../Gallery/{0}") %>' target="_blank">
filename is returns image name then Gallery returns the folder name ((/2008611115528)).JPG and 0 returns from my select statement the is of the image. But not sure how to return large image within the masterpage or another page.
Try target="_self", or removing target altogether.
ASKER
No that just opens the window to display image itself
I don't understand what you are looking for, and what you just said.
ASKER
Sorry, Ok when I click on the thumbnail it opens a window, weather it is the same window or new window it just shows the image itself, because the way I have it is a direct link to the image. What I need is to click on the image and have it open up in the same window or another part of the file so the image will open as a large view within the master page.not new window or a direct link to the image.
read the first comment please thanks
read the first comment please thanks
ASKER
I use the link below this should help with clarification. so I want the thumbnail image when click on to appear in the same page as a large image.
http://www.beansoftware.com/ASP.NET-Tutorials/Picture-Album.aspx
http://www.beansoftware.com/ASP.NET-Tutorials/Picture-Album.aspx
Here is what I would do: redirect to a page that is pointed to the master page, and will get the file name from a QueryString value, and then display the image.
ASKER
do you have a small example then I will close this case
ASKER
Passing the querystring I am having that problem with 2 cases. I create the page but How to pass the querystring to on page to another. this will kill 2 birds with one stone dude.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Dim url As String = Request.QueryString("url")