This method can clear TextBoxes when not using a masterpages:
foreach (Control cntl in form1.Controls)
{
if (cntl is TextBox)
{
((TextBox)cntl).Text = "";
}
}What can I do to make it work in a:<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">I have tried: this.Controls Any ideas????
Go to the complete details ...