The short answer; you can't. The long answer is still that you can't do
this from code behind since there is only an open connection between the
client (web browser) and server (webserver) for the duration of the
Request/Response calls.
You would have to rely on some client side script, like javascript, and set
up a timer (look at the setIntervall call in javascript) and force a form
submit
when the timer triggers. On the server side you would catch it by checking
for Page.IsPostBack in the Page_Load event. Once here, you can change
the value of your textbox using textBoxName.Text = "Sometext";
HTH,
//Andreas
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.