There are 2 user controls, one is inside the other.
These controls are located on an .aspx.
One control is a modal popup the other is a custom search control (the search control is inside the modal popup).
After a user has completed a search and closes the form, the next time the popup opens (for the same user) the old values are still present.
How can I clear the values out each time the form loads?
Edit:
Is it possible to capture the popup closing event?
As it turns out there is no method on the control to clear out the values on the control.
So what I have to do is create the method on the search control to clear out the control and create a method on the popup control to capture the popup open or close event to trigger the clear method.
At first I wasn’t going to be able to change the control..since explaining that this was the only way to solve the issue the control can be changed..thank god! And since the method is not going to be a default option it won’t affect anywhere else the controls are used.