Rashid.net

Thursday, May 03, 2007

Page Loads twice for a single click ASP.NET 2.0

Today i was writing an application which was bringing data from the webservice provided by AMAZON.COM.
What it was doing is that it was fetching records of a products like price, sku etc.. and its image url. I was displaying that product information in labels and an image in a image control.
What happens then was that first page was laoded putting information in labels and then refreshes again to display the image and when it was loading image it doesn't loads the page as a result of post back and thus refreshes some of my data.
So if this things happens to you, i mean if your pages loads two time then there must be some controls which are causing this load two times. so check them out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home