How do I refresh a text box in a .aspx code behind project?

  • Thread starter Thread starter Bryan G
  • Start date Start date
B

Bryan G

I have a timmer that looks at a value in a text box that I need to get
refreshed How do I refresh the text box?
 
Bryan said:
I have a timmer that looks at a value in a text box that I need to get
refreshed How do I refresh the text box?

Just assign it a value like this (if it's a server control): myTextbox.Text
= "some text"

Matt
 
Bryan

You can use System.Timers.Timer and use the Timer elapsed event. It Occurs when the interval elapses. That way you can add a code to that event to refresh your textbox

Thanks

Tapasv
 
I know about the system time it works fine but when it kicks off I change
the text in the text box but it does not change on the screen. I need to
know how to refresh the screen that was my question.


Tap said:
Bryan,

You can use System.Timers.Timer and use the Timer elapsed event. It Occurs
when the interval elapses. That way you can add a code to that event to
refresh your textbox.
 
I do change the text but the screen does not reflect the new data that I
..text= some data. I still contains the old data;
 
Sorry, I misunderstood the whole question. I thought you needed the timer to do something.

You can reassign the value to the textbox as Matt suggested

Thanks

Ta
 
Back
Top