Link to home
Start Free TrialLog in
Avatar of janmarini
janmarini

asked on

'Reload' or 'Reset' UserControl

Hi,

I have a complex usercontrol (can be placed on 'any' page) and has a reset button.  When the user clicks 'reset' I would like to clear all existing selections - essentially reverting it back to the first time it is loaded.  Is there an easy way to do this other than specifically clearing all the webcontrols on the usercontrol? I am using vb for the code behind and using on page_Load,  If Not Page.IsPostBack Then.. to set up initial settings (I am using an xml file to dynamically create radiobuttonlists, etc.)

Thanks.
Jan
ASKER CERTIFIED SOLUTION
Avatar of orbulat
orbulat
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of janmarini
janmarini

ASKER

Perfect! And so easy - Thanks!
u're welcome :o)