Solved

asp.net load images once page has loaded.

Posted on 2012-04-07
2
322 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
2 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 100 total points
Comment Utility
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 400 total points
Comment Utility
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
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.…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now