Jul 15, 2008 04:42 AM|My Crystal|LINK
if i understand you correctly, you want to develop a custom text box server control which is used in many pages of your web site. when dragged on aspx page, the text box's show the current time. Right?
you just have to extend the TextBox, compile the following code into a assembly and then add it to the tool box in the VS.
public class ExTextBox : TextBox
base.Text = DateTime.Now.ToString();