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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
u're welcome :o)
ASKER