473,385 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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

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
Nov 15 '05 #1
2 4533
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]
- mv*@spam.guard.caspershouse.com

"DevilZAngel" <do***@mail.me> wrote in message
news:ej*******************@news20.bellglobal.com.. .
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

Nov 15 '05 #2
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:ut**************@tk2msftngp13.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"DevilZAngel" <do***@mail.me> wrote in message
news:ej*******************@news20.bellglobal.com.. .
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


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: DevilZAngel | last post by:
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...
2
by: jlucas | last post by:
Hello, I am new to .Net and I need some help getting access to the controls in my aspx code. It seems my cs class can not get a good reference to the controls declared in my aspx file. Here...
3
by: chris | last post by:
Suggested that I move my question to this post, HELP I'm struggling with using the HttpCookie object on a code behind. Used in the page works great I'm getting a: Type 'HttpCookie' is not define...
10
by: Don Munroe | last post by:
This one has me stumped. I have three web applications running on two different servers. The first that works fine is hosted by a .Net hosting company. Everyone that uses it has no problems...
1
by: Asha | last post by:
greetings, can someone show me how to read a client side value from code behind withouth having to resfresh the page? here is the code i've implemented.... ...
0
by: Tmuld | last post by:
Hello, I have not used Visual Basic .NET in two years - in fact completely out of development. Now I am back in! Basically I have to make a web page with a textbox and button. On the click...
2
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
2
by: Doogie | last post by:
Hi, I'm trying to set up a refresh of some of the data on a page and am using this: <meta http-equiv="refresh" content="120"> This works great with one exception. I only want to refresh...
3
by: Mohd Baseerul Mubeen | last post by:
Hey! I am a beginner Can anybody help me with the code behind for working with responsexml
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.