Re-setting textbox controls in webforms
i have a webform in which there are several textbox controls. i want that when i press the reset button all the textbox controls should be cleared..how can i do ths by looping through the textbox controls.. i am using vb.net as code behind
its urgent
thanks in advance
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Azeemuddin6 reputationPosted Feb 6, 2007, 1:48 AM EST
Next put this code in the reset button onclick event
foreach(Control c in pnlEdit.Controls)
{
if (c is UI.TextBox)
(c as UI.TextBox).text = string.empty();
}