TextBox CustomerID = MiscUtils.FindControlRecursively(Page, "CustomerID") as TextBox; string idValue = CustomerID.Text;