Hi,
Thank you for your post!
I assume you can write javascript to do it,
windows.setInterval(function(){ document.getElementByID("the text box clientID").value = ...;},1000);
What you should do is using this.Page.ClientScript.RegisterClientScriptBlock method or ScriptManager.RegisterStartupScript method to register the above script to client side in the custom webcontrols "override void OnPreRender(EventArgs e)".
For more information about creating custom webcontrol, see http://msdn2.microsoft.com/zh-cn/library/zt27tfhy(VS.80).aspx
If you have further questions,let me know!
Best Regards,