[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

asp.net load images once page has loaded.

Posted on 2012-04-07
2
Medium Priority
?
336 Views
Last Modified: 2012-08-13
Hi all, how do you load images in the background once a page has loaded. I have a page where you can click to see larger images. I would like it that when the page loads it then looks at what the users might click on next and load them in the background.

It would just seed things up when they try to click on the image thumnails.
0
Comment
Question by:taz8020
[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
2 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 400 total points
ID: 37819175
If you mean after page is loaded on the client, then you can use this ASP.NET Ajax code: (It requires that you have a <asp:ScriptManager> on the page to enable AJAX)

<script type="text/javascript">  var prm = Sys.WebForms.PageRequestManager.getInstance(); if(prm) prm.add_pageLoaded( PageLoadedEventHandler );  function PageLoadedEventHandler() {   // Do your stuff } </script>

http://stackoverflow.com/questions/1426491/how-to-load-images-after-page-load-completed-in-asp-net
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 1600 total points
ID: 37820088
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

649 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