Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

In AJAX partial update of the page so ListBox1 only will be updated not the whole page

$
0
0

I have some SQL code I want to run when Timer2 fires. 

How do I do this in the AJAX partial update of the page so ListBox1 only will be updated not the whole page?

<asp:UpdatePanel ID="UpdatePanel2" runat="server"><Triggers><asp:AsyncPostBackTrigger ControlID="Timer2" EventName="Tick" /></Triggers><ContentTemplate><asp:Timer ID="Timer2" Interval="30000" runat="server"></asp:Timer><asp:ListBox ID="ListBox1" Width="500" Height="100" runat="server"></asp:ListBox></ContentTemplate></asp:UpdatePanel>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>