Click here to Skip to main content
15,896,063 members
Articles / Web Development / ASP.NET

Load while scrolling

Rate me:
Please Sign up or sign in to vote.
4.82/5 (6 votes)
27 Jul 2012CPOL4 min read 32.2K   863   28  
Following Article will show how to load real time data while user scrolls.
<Products>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>1</ProductID>
    <ProductName>Chai</ProductName>
    <SupplierName>Exotic Liquids</SupplierName>
    <UnitPrice>18.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>2</ProductID>
    <ProductName>Chang</ProductName>
    <SupplierName>Exotic Liquids</SupplierName>
    <UnitPrice>19.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>3</ProductID>
    <ProductName>Aniseed Syrup</ProductName>
    <SupplierName>Exotic Liquids</SupplierName>
    <UnitPrice>10.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>4</ProductID>
    <ProductName>Chef Anton's Cajun Seasoning</ProductName>
    <SupplierName>New Orleans Cajun Delights</SupplierName>
    <UnitPrice>22.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>5</ProductID>
    <ProductName>Chef Anton's Gumbo Mix</ProductName>
    <SupplierName>New Orleans Cajun Delights</SupplierName>
    <UnitPrice>21.3500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>6</ProductID>
    <ProductName>Grandma's Boysenberry Spread</ProductName>
    <SupplierName>Grandma Kelly's Homestead</SupplierName>
    <UnitPrice>25.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Produce</CategoryName>
    <ProductID>7</ProductID>
    <ProductName>Uncle Bob's Organic Dried Pears</ProductName>
    <SupplierName>Grandma Kelly's Homestead</SupplierName>
    <UnitPrice>30.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>8</ProductID>
    <ProductName>Northwoods Cranberry Sauce</ProductName>
    <SupplierName>Grandma Kelly's Homestead</SupplierName>
    <UnitPrice>40.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>9</ProductID>
    <ProductName>Mishi Kobe Niku</ProductName>
    <SupplierName>Tokyo Traders</SupplierName>
    <UnitPrice>97.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>10</ProductID>
    <ProductName>Ikura</ProductName>
    <SupplierName>Tokyo Traders</SupplierName>
    <UnitPrice>31.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>11</ProductID>
    <ProductName>Queso Cabrales</ProductName>
    <SupplierName>Cooperativa de Quesos 'Las Cabras'</SupplierName>
    <UnitPrice>21.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>12</ProductID>
    <ProductName>Queso Manchego La Pastora</ProductName>
    <SupplierName>Cooperativa de Quesos 'Las Cabras'</SupplierName>
    <UnitPrice>38.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>13</ProductID>
    <ProductName>Konbu</ProductName>
    <SupplierName>Mayumi's</SupplierName>
    <UnitPrice>6.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Produce</CategoryName>
    <ProductID>14</ProductID>
    <ProductName>Tofu</ProductName>
    <SupplierName>Mayumi's</SupplierName>
    <UnitPrice>23.2500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>15</ProductID>
    <ProductName>Genen Shouyu</ProductName>
    <SupplierName>Mayumi's</SupplierName>
    <UnitPrice>15.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>16</ProductID>
    <ProductName>Pavlova</ProductName>
    <SupplierName>Pavlova, Ltd.</SupplierName>
    <UnitPrice>17.4500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>17</ProductID>
    <ProductName>Alice Mutton</ProductName>
    <SupplierName>Pavlova, Ltd.</SupplierName>
    <UnitPrice>39.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>18</ProductID>
    <ProductName>Carnarvon Tigers</ProductName>
    <SupplierName>Pavlova, Ltd.</SupplierName>
    <UnitPrice>62.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>19</ProductID>
    <ProductName>Teatime Chocolate Biscuits</ProductName>
    <SupplierName>Specialty Biscuits, Ltd.</SupplierName>
    <UnitPrice>9.2000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>20</ProductID>
    <ProductName>Sir Rodney's Marmalade</ProductName>
    <SupplierName>Specialty Biscuits, Ltd.</SupplierName>
    <UnitPrice>81.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>21</ProductID>
    <ProductName>Sir Rodney's Scones</ProductName>
    <SupplierName>Specialty Biscuits, Ltd.</SupplierName>
    <UnitPrice>10.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>22</ProductID>
    <ProductName>Gustaf's Knäckebröd</ProductName>
    <SupplierName>PB Knäckebröd AB</SupplierName>
    <UnitPrice>21.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>23</ProductID>
    <ProductName>Tunnbröd</ProductName>
    <SupplierName>PB Knäckebröd AB</SupplierName>
    <UnitPrice>9.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>24</ProductID>
    <ProductName>Guaraná Fantástica</ProductName>
    <SupplierName>Refrescos Americanas LTDA</SupplierName>
    <UnitPrice>4.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>25</ProductID>
    <ProductName>NuNuCa Nuß-Nougat-Creme</ProductName>
    <SupplierName>Heli Süßwaren GmbH &amp; Co. KG</SupplierName>
    <UnitPrice>14.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>26</ProductID>
    <ProductName>Gumbär Gummibärchen</ProductName>
    <SupplierName>Heli Süßwaren GmbH &amp; Co. KG</SupplierName>
    <UnitPrice>31.2300</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>27</ProductID>
    <ProductName>Schoggi Schokolade</ProductName>
    <SupplierName>Heli Süßwaren GmbH &amp; Co. KG</SupplierName>
    <UnitPrice>43.9000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Produce</CategoryName>
    <ProductID>28</ProductID>
    <ProductName>Rössle Sauerkraut</ProductName>
    <SupplierName>Plutzer Lebensmittelgroßmärkte AG</SupplierName>
    <UnitPrice>45.6000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>29</ProductID>
    <ProductName>Thüringer Rostbratwurst</ProductName>
    <SupplierName>Plutzer Lebensmittelgroßmärkte AG</SupplierName>
    <UnitPrice>123.7900</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>30</ProductID>
    <ProductName>Nord-Ost Matjeshering</ProductName>
    <SupplierName>Nord-Ost-Fisch Handelsgesellschaft mbH</SupplierName>
    <UnitPrice>25.8900</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>31</ProductID>
    <ProductName>Gorgonzola Telino</ProductName>
    <SupplierName>Formaggi Fortini s.r.l.</SupplierName>
    <UnitPrice>12.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>32</ProductID>
    <ProductName>Mascarpone Fabioli</ProductName>
    <SupplierName>Formaggi Fortini s.r.l.</SupplierName>
    <UnitPrice>32.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>33</ProductID>
    <ProductName>Geitost</ProductName>
    <SupplierName>Norske Meierier</SupplierName>
    <UnitPrice>2.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>34</ProductID>
    <ProductName>Sasquatch Ale</ProductName>
    <SupplierName>Bigfoot Breweries</SupplierName>
    <UnitPrice>14.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>35</ProductID>
    <ProductName>Steeleye Stout</ProductName>
    <SupplierName>Bigfoot Breweries</SupplierName>
    <UnitPrice>18.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>36</ProductID>
    <ProductName>Inlagd Sill</ProductName>
    <SupplierName>Svensk Sjöföda AB</SupplierName>
    <UnitPrice>19.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>37</ProductID>
    <ProductName>Gravad lax</ProductName>
    <SupplierName>Svensk Sjöföda AB</SupplierName>
    <UnitPrice>26.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>38</ProductID>
    <ProductName>Côte de Blaye</ProductName>
    <SupplierName>Aux joyeux ecclésiastiques</SupplierName>
    <UnitPrice>263.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>39</ProductID>
    <ProductName>Chartreuse verte</ProductName>
    <SupplierName>Aux joyeux ecclésiastiques</SupplierName>
    <UnitPrice>18.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>40</ProductID>
    <ProductName>Boston Crab Meat</ProductName>
    <SupplierName>New England Seafood Cannery</SupplierName>
    <UnitPrice>18.4000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>41</ProductID>
    <ProductName>Jack's New England Clam Chowder</ProductName>
    <SupplierName>New England Seafood Cannery</SupplierName>
    <UnitPrice>9.6500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>42</ProductID>
    <ProductName>Singaporean Hokkien Fried Mee</ProductName>
    <SupplierName>Leka Trading</SupplierName>
    <UnitPrice>14.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>43</ProductID>
    <ProductName>Ipoh Coffee</ProductName>
    <SupplierName>Leka Trading</SupplierName>
    <UnitPrice>46.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>44</ProductID>
    <ProductName>Gula Malacca</ProductName>
    <SupplierName>Leka Trading</SupplierName>
    <UnitPrice>19.4500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>45</ProductID>
    <ProductName>Rogede sild</ProductName>
    <SupplierName>Lyngbysild</SupplierName>
    <UnitPrice>9.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>46</ProductID>
    <ProductName>Spegesild</ProductName>
    <SupplierName>Lyngbysild</SupplierName>
    <UnitPrice>12.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>47</ProductID>
    <ProductName>Zaanse koeken</ProductName>
    <SupplierName>Zaanse Snoepfabriek</SupplierName>
    <UnitPrice>9.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>48</ProductID>
    <ProductName>Chocolade</ProductName>
    <SupplierName>Zaanse Snoepfabriek</SupplierName>
    <UnitPrice>12.7500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>49</ProductID>
    <ProductName>Maxilaku</ProductName>
    <SupplierName>Karkki Oy</SupplierName>
    <UnitPrice>20.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>50</ProductID>
    <ProductName>Valkoinen suklaa</ProductName>
    <SupplierName>Karkki Oy</SupplierName>
    <UnitPrice>16.2500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Produce</CategoryName>
    <ProductID>51</ProductID>
    <ProductName>Manjimup Dried Apples</ProductName>
    <SupplierName>G'day, Mate</SupplierName>
    <UnitPrice>53.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>52</ProductID>
    <ProductName>Filo Mix</ProductName>
    <SupplierName>G'day, Mate</SupplierName>
    <UnitPrice>7.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>53</ProductID>
    <ProductName>Perth Pasties</ProductName>
    <SupplierName>G'day, Mate</SupplierName>
    <UnitPrice>32.8000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>54</ProductID>
    <ProductName>Tourtière</ProductName>
    <SupplierName>Ma Maison</SupplierName>
    <UnitPrice>7.4500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Meat/Poultry</CategoryName>
    <ProductID>55</ProductID>
    <ProductName>Pâté chinois</ProductName>
    <SupplierName>Ma Maison</SupplierName>
    <UnitPrice>24.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>56</ProductID>
    <ProductName>Gnocchi di nonna Alice</ProductName>
    <SupplierName>Pasta Buttini s.r.l.</SupplierName>
    <UnitPrice>38.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>57</ProductID>
    <ProductName>Ravioli Angelo</ProductName>
    <SupplierName>Pasta Buttini s.r.l.</SupplierName>
    <UnitPrice>19.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>58</ProductID>
    <ProductName>Escargots de Bourgogne</ProductName>
    <SupplierName>Escargots Nouveaux</SupplierName>
    <UnitPrice>13.2500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>59</ProductID>
    <ProductName>Raclette Courdavault</ProductName>
    <SupplierName>Gai pâturage</SupplierName>
    <UnitPrice>55.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>60</ProductID>
    <ProductName>Camembert Pierrot</ProductName>
    <SupplierName>Gai pâturage</SupplierName>
    <UnitPrice>34.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>61</ProductID>
    <ProductName>Sirop d'érable</ProductName>
    <SupplierName>Forêts d'érables</SupplierName>
    <UnitPrice>28.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>62</ProductID>
    <ProductName>Tarte au sucre</ProductName>
    <SupplierName>Forêts d'érables</SupplierName>
    <UnitPrice>49.3000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>63</ProductID>
    <ProductName>Vegie-spread</ProductName>
    <SupplierName>Pavlova, Ltd.</SupplierName>
    <UnitPrice>43.9000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Grains/Cereals</CategoryName>
    <ProductID>64</ProductID>
    <ProductName>Wimmers gute Semmelknödel</ProductName>
    <SupplierName>Plutzer Lebensmittelgroßmärkte AG</SupplierName>
    <UnitPrice>33.2500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>65</ProductID>
    <ProductName>Louisiana Fiery Hot Pepper Sauce</ProductName>
    <SupplierName>New Orleans Cajun Delights</SupplierName>
    <UnitPrice>21.0500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>66</ProductID>
    <ProductName>Louisiana Hot Spiced Okra</ProductName>
    <SupplierName>New Orleans Cajun Delights</SupplierName>
    <UnitPrice>17.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>67</ProductID>
    <ProductName>Laughing Lumberjack Lager</ProductName>
    <SupplierName>Bigfoot Breweries</SupplierName>
    <UnitPrice>14.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Confections</CategoryName>
    <ProductID>68</ProductID>
    <ProductName>Scottish Longbreads</ProductName>
    <SupplierName>Specialty Biscuits, Ltd.</SupplierName>
    <UnitPrice>12.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>69</ProductID>
    <ProductName>Gudbrandsdalsost</ProductName>
    <SupplierName>Norske Meierier</SupplierName>
    <UnitPrice>36.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>70</ProductID>
    <ProductName>Outback Lager</ProductName>
    <SupplierName>Pavlova, Ltd.</SupplierName>
    <UnitPrice>15.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>71</ProductID>
    <ProductName>Flotemysost</ProductName>
    <SupplierName>Norske Meierier</SupplierName>
    <UnitPrice>21.5000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Dairy Products</CategoryName>
    <ProductID>72</ProductID>
    <ProductName>Mozzarella di Giovanni</ProductName>
    <SupplierName>Formaggi Fortini s.r.l.</SupplierName>
    <UnitPrice>34.8000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Seafood</CategoryName>
    <ProductID>73</ProductID>
    <ProductName>Röd Kaviar</ProductName>
    <SupplierName>Svensk Sjöföda AB</SupplierName>
    <UnitPrice>15.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Produce</CategoryName>
    <ProductID>74</ProductID>
    <ProductName>Longlife Tofu</ProductName>
    <SupplierName>Tokyo Traders</SupplierName>
    <UnitPrice>10.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>75</ProductID>
    <ProductName>Rhönbräu Klosterbier</ProductName>
    <SupplierName>Plutzer Lebensmittelgroßmärkte AG</SupplierName>
    <UnitPrice>7.7500</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Beverages</CategoryName>
    <ProductID>76</ProductID>
    <ProductName>Lakkalikööri</ProductName>
    <SupplierName>Karkki Oy</SupplierName>
    <UnitPrice>18.0000</UnitPrice>
  </Product>
  <Product>
    <CategoryName>Condiments</CategoryName>
    <ProductID>77</ProductID>
    <ProductName>Original Frankfurter grüne Soße</ProductName>
    <SupplierName>Plutzer Lebensmittelgroßmärkte AG</SupplierName>
    <UnitPrice>13.0000</UnitPrice>
  </Product>
</Products>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
India India
9+ plus years of experience in IT industry. This includes experience in architecting, designing and developing solutions on Web and desktop application platforms

Comments and Discussions