How to use javascipt to create auto refresh data only for Repeaters in asp.net?
<p>I want to do a mail system in inbox with function auto refresh in repeaters only for data.How to do it?</p>

<pre><code> &lt;asp:Repeater ID="Repeater1" runat="server" DataSourceID="dsInbox"&gt;
        &lt;ItemTemplate&gt;
          &lt;tr id="trInbox" class="normal" style='cursor:pointer; font-weight:&lt;%# StyleBold(Convert.ToBoolean(Eval("inbRead")) ) %&gt;' onclick='selectedRow(this,&lt;%# Eval("INBID") %&gt;)'   onMouseOver="if(this.className!='selected') this.style.backgroundColor='#E2E1F4';" onMouseOut="if(this.className!='selected') this.style.backgroundColor='#FFFFFF'"&gt; 
            &lt;td width="370px" height="25px"&gt;&lt;div align="left" class="style95"&gt;&amp;nbsp;&lt;%# DisplaySubject(Eval("inbSubject").ToString(), Eval("inbMsg").ToString())%&gt;&lt;/div&gt;&lt;/td&gt; 
            &lt;td width="80px" height="25px"&gt;&lt;div align="left" class="style95"&gt;&amp;nbsp;&lt;%# Eval("inbCreatedAt","{0:MM-dd-yyyy}") %&gt;&lt;/div&gt;&lt;/td&gt; 
            &lt;td width="94px" height="25px"&gt;&lt;div align="left" class="style95"&gt;&amp;nbsp;&lt;%# Eval("inbCreatedAt","{0:hh:mm:ss tt}") %&gt;&lt;/div&gt;&lt;/td&gt; 
          &lt;/tr&gt;   
        &lt;/ItemTemplate&gt;
        &lt;/asp:Repeater&gt;
</code></pre>
