Please help me out here.... it has been a while that i have been looking around on the web for this and to no avail....
I basically have a network stream that i need to read on regular intervals in ASP.NET. The scenario is a chat application and i need to constantly check the network stream whether data has been pushed to it.
I tried ASP.NET AJAX TIMER CONTROL to read the network stream on Tick event (3 seconds interval). My aspx source looks like this:
<asp:UpdatePanel runat="server" ID="updatepanel1" UpdateMode="Conditional">
<asp:AsyncPostBackTrigger ControlID="timer1" />
<asp:TextBox runat="server" TextMode="MultiLine" Rows="30" Columns="100" ID="textbox1"></asp:TextBox>
In The Timer1_Tick event I have code to read the network stream.
However, I dont get any results in the textbox. I know data is being sent and received fine (i checked that using various techniques) so no problem there. The only problem is to CONTINUE TO READ THE NETWORK STREAM AT REGULAR INTERVALS and i cant figure out how that
View Complete Post