In my asp.net application have one data list, page load event I have to bind number of image items(1000), how to apply the load on demand (What you can say Lazy loading of images) (when scrolling the page that time only bind the items like facebook new needs page)
Basically I don't want page load delay due to no of images and their loading time. my code is page load event get the data and bind the datalist
SqlCommand comd = new SqlCommand("usp_GetSubCategoryProducts", OBcon);
comd.CommandType = CommandType.StoredProcedure;
comd.Parameters.Add("@ID", SqlDbType.Int).Value = SubCategory_id;
DataSet ds = new DataSet();
SqlDataAdapter sqlAdapter = new SqlDataAdapter();
sqlAdapter.SelectCommand = comd;
sqlAdapter.Fill(ds);
listView.DataSource = ds;
listView.DataBind();