Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Probably one of the easiest things you can do is to use the UpdatePanel within ASP.NET and use a ticker event that will PostBack to the server and refresh the content of your UpdatePanel given a specified interval time.</p> <p>You can then tap into the client side AsynPostBack events to use a little bit of jQuery magic on the data to make it look good. Either way, you'll end up with some serverside and client side code here. You can code the client side in 100% JavaScript, but utilizing the jQuery framework would be very beneficial.</p> <p>Here is a code sample on using the <a href="http://malsup.com/jquery/cycle/" rel="nofollow noreferrer">jQuery Cycle</a> plugin:</p> <pre><code> &lt;div id="product_ticker"&gt; &lt;div&gt; News A &lt;/div&gt; &lt;div&gt; News B &lt;/div&gt; &lt;div&gt; News C &lt;/div&gt; &lt;div&gt; News D &lt;/div&gt; &lt;/div&gt; &lt;script type="text/javascript" language="javascript"&gt; $(function() { $('#product_ticker').cycle(); }); &lt;/script&gt; </code></pre> <p>Here are a couple of links worth looking at for more ideas:<br> * <a href="http://net.tutsplus.com/tutorials/javascript-ajax/build-a-simple-jquery-news-ticker/" rel="nofollow noreferrer">http://net.tutsplus.com/tutorials/javascript-ajax/build-a-simple-jquery-news-ticker/</a><br> * <a href="http://israelwebdev.wordpress.com/2009/03/25/jquery-ltrrtl-news-ticker/" rel="nofollow noreferrer">http://israelwebdev.wordpress.com/2009/03/25/jquery-ltrrtl-news-ticker/</a><br> * <a href="http://malsup.com/jquery/cycle/" rel="nofollow noreferrer">http://malsup.com/jquery/cycle/</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload