CleverHans 0 Newbie Poster

Hi:
I have implemented an ASP.NET PasswordRecovery control. I converted the control to templates so that I could do some minor customizations.

As you know, there are three View Templates in this control:

  • UserNameTemplate
  • QuestionTemplate
  • SuccessTemplate

One of the things that I wanted to do was add a "Cancel" button to the "QuestionTemplate". I'm thinking that a user could decide to cancel the password recovery at the Question stage so I threw in a "Cancel" button.

The problem is, I cannot get this control to reset BACK to the UserNameTemplate. The next time the user requests password recovery, it goes immediately to the QuestionTemplate.

Is there any way I can stop this behavior. There must be a way to clear the contro or reset it but I can't find anything like that in any of the documentation for the control that I have seen.

Thanks in advance,
Mark