I followed the tuturials to create a datagrid and text boxes in the footer for the purpose of adding new records (http://aspnet.4guysfromrolla.com/articles/021203-1.aspx). It works great.<BR><BR>Now, I would like to improve the text boxes in the footer to implement some event handler. For example, one text box is "effective date" and another "expiration date". I want to make the effective date field's auto-post back to true, so that the expiration date gets auto-filled (add 1 year to the effective date). I would also like to implement validation controls.<BR><BR>The controls embedded in a datagrid seem odd to me. I can't reference them in code, because they are created at run time. So how would I implement a event handler for the textboxes embedded in datagrid?