Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

image click

Posted on 2008-06-12
10
Medium Priority
?
157 Views
Last Modified: 2013-11-26
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.
0
Comment
Question by:Seven price
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21777987
Try target="_self", or removing target altogether.
0
 
LVL 9

Author Comment

by:Seven price
ID: 21780362
No that just opens the window to display image itself
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21781218
I don't understand what you are looking for, and what you just said.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Author Comment

by:Seven price
ID: 21781601
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
0
 
LVL 9

Author Comment

by:Seven price
ID: 21782656
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
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21785067
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.
0
 
LVL 9

Author Comment

by:Seven price
ID: 21786110
do you have a small example then I will close this case
0
 
LVL 9

Author Comment

by:Seven price
ID: 21786116
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.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 1500 total points
ID: 21786697
Response.Redirect("ShowImage.aspx?url=" & fileName)
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21786700
Dim url As String = Request.QueryString("url")
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question