Help: self refreshing textbox in asp.net (C# code behind)

  • Thread starter Thread starter DevilZAngel
  • Start date Start date
D

DevilZAngel

Hi all

I am writing a simple chat application in asp.net. Problem is that, when
other user sends a message, I want my testbox (which shows the messages) to
refresh automatically, without using setInterval or anything like that. I
saw a webpage at microsoft's website somewhere using the same thing, but
couldn't find it again. This is the only thing left in the app. Right now i
am using setInterval. The website had scrolling textbox too. I would love
that ;)

I am open to ideas!

Thanks for your time!

DevilZAngel
 
DevilZAngel,

This is accomplished through the use of a control embedded in a page on
Microsoft's site. You will have to do something along the same lines if you
don't want to deal with a refresh every time you need to get new content.

Hope this helps.
 
Can u guide me to a good site or anything for more info.

and, oh yeah! Happy new year to you too!

Thanks!

Nicholas Paldino said:
DevilZAngel,

This is accomplished through the use of a control embedded in a page on
Microsoft's site. You will have to do something along the same lines if you
don't want to deal with a refresh every time you need to get new content.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

DevilZAngel said:
Hi all

I am writing a simple chat application in asp.net. Problem is that, when
other user sends a message, I want my testbox (which shows the messages) to
refresh automatically, without using setInterval or anything like that. I
saw a webpage at microsoft's website somewhere using the same thing, but
couldn't find it again. This is the only thing left in the app. Right
now
i
am using setInterval. The website had scrolling textbox too. I would love
that ;)

I am open to ideas!

Thanks for your time!

DevilZAngel
 
Back
Top