C# foreground picture of onclick, a method call back to write?

I'm writing a shopping mall, a product may have several color pictures, after the background to add a good,
The CS file on the first page inside the <img> cycle mode, display,

Now want to click the small map, in the next display large function, just don't know how can without refreshing the page's case, the small figure address to the larger controls? ?

Very urgent, online etc.!

Started by Sandy at February 05, 2016 - 10:35 PM

No one knows?

Posted by Sandy at February 13, 2016 - 11:13 PM

1 you can use the JS+AJAX according to the current binding ID get larger, and then do the show
The 2 cycle, large small figure out together, calling the JS to achieve the display and hide

Posted by Cosmo at February 24, 2016 - 11:25 PM

Set the IMG SRC is so complicated? Simple things why complex

Posted by Alan at March 03, 2016 - 12:22 AM

How to achieve.?

Posted by Sandy at November 18, 2016 - 7:57 PM

The effect of Internet JQuery do a lot.?

Posted by Eleanor at November 30, 2016 - 8:00 PM

The background to read to the IMG, in the background of HTML splicing, and then output to the page

Posted by Quentin at December 07, 2016 - 8:28 PM

It is already the output to the front page, the key is how to click on the small map, in the display pattern displayed in the control?

Posted by Sandy at December 10, 2016 - 9:06 PM

You're partial refresh problem, I recently engaged in it but no one bird.,
You have a look it, you are not a fileUpload control, you should be able to achieve to use this Ajax

Posted by Chad at December 13, 2016 - 9:54 PM

sb.Append("<div class='btnliner5'><a href=proview.aspx?id="+id+"&j="+i+"><img src='" + dt.Rows[i]["img"].ToString() + "' width='50'></a></div>");

See the above code can understand? The IMG control has no event can be fired, how do I put his SRC to another control.
I am at present to this page, link transmission parameters, the page will have a refresh process, not good-looking.

Posted by Sandy at December 26, 2016 - 9:55 PM

No click event,

Effect diagram as follows:

Is a pure JS problem. Can be a picture of URL in front, can also use a Ajax to get pictures of URL

Posted by Alan at January 04, 2017 - 10:20 PM

You put the IMG into the A, it is certainly not the events of click, can be used to do OnMouseOver and onmouseout

Posted by Alan at January 08, 2017 - 10:22 PM

The photomicrographs in iframe, a small map by clicking the refresh iframe.

Posted by Gilbert at January 10, 2017 - 10:30 PM