Hi everybody,
On the complex page I have multiple controls and a Wizard which allows to create a new entry. The problem is that when I try to add a new entry, the previous information is still there.
Now, in order to clear the fields I'm trying the following code which gives me an error on the second line:
foreach (Control c in this.wzrdAddEvent.Controls)
{
c.Clear();
}
Do you know a better way to clear controls (some are textboxes, some combos, etc.)
Thanks in advance.
If it's not broken, fix it until it is.
My Blog