Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > asp.net 2.0 gridview ImageField link

Reply
Thread Tools

asp.net 2.0 gridview ImageField link

 
 
lego
Guest
Posts: n/a
 
      03-29-2007
New to ASP.NET 2.0

I am using a GridView bound to a sql-database

I have on column set as an ImageField. This works fine. It
dynamically gets the file name from the bound database and display
what is a "thumbnail" image. Each row, of course, has a different
image. This works perfectly.

My question is; How can I change the above described column to enable
the user to click on the "thumbnail image" and have then act as a
HyperLinkField column would, that is it would then link to another
image an display in a frame on the same page, the full-size image.

I do have another column (HyperLinkField) which the user may click on,
and it does work correct. However what I need is to "combine the
two."

In other words, all I need is the GridView (bounded to a database) to
display a thumbnail image, and when clicked on, brings up another
image in a named-frame on the same page.

Any thoughts?

Thanks for listening!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GridView - images using ImageField are blocked as cookies The Colonel ASP .Net 1 11-08-2006 07:41 PM
imagefield in gridview TdarTdar ASP .Net Web Controls 1 04-16-2006 08:15 AM
How do I get asp:ImageField to use a hyperlink? needin4mation@gmail.com ASP .Net 1 03-15-2006 02:58 PM
ASP.NET 2.0 ImageField Upload Image Insert / Update JpMaxMan ASP .Net 3 03-15-2006 12:00 AM
ImageField and BoundField columns in a gridview control: =?Utf-8?B?QmVuamFtaW4=?= ASP .Net 0 04-20-2004 04:06 PM



Advertisments