hi,
i am D.Srinivasa Rao, i have a problem to Clear RadTextBox using c# in Asp.Net, in my page i have a number of RadTextBoxes and RadNumericTextBoxes. now i want to clear all RadTextBoxes, RadNumericTextBoxes using control Functions.
For TextBoxes i used the following Function to Clear all TextBoxes
protected void ClearTextBoxes(Control control)
{
foreach (Control c in control.Controls)
{
if (c is TextBox)
((TextBox)c).Text = "";
}
}
in the same way how can i clear the RadTextBoxes.
Please Help me
Thanks
D.Srinivasa Rao.
i am D.Srinivasa Rao, i have a problem to Clear RadTextBox using c# in Asp.Net, in my page i have a number of RadTextBoxes and RadNumericTextBoxes. now i want to clear all RadTextBoxes, RadNumericTextBoxes using control Functions.
For TextBoxes i used the following Function to Clear all TextBoxes
protected void ClearTextBoxes(Control control)
{
foreach (Control c in control.Controls)
{
if (c is TextBox)
((TextBox)c).Text = "";
}
}
in the same way how can i clear the RadTextBoxes.
Please Help me
Thanks
D.Srinivasa Rao.