Knowledge Base Category: Development

How to clear a form

To clear a web form full of textboxes and form controls just enclose all the objects in a Panel control then on your code behind use the following line

PANELID.Controls.Clear()

...
Read more