Hello all this is a little tricky. I have an ASPX page that loads a control within it. The ASPX page holds the focus on a certain link button. In the ASCX control I am using a CreateUserWizard and in that you set the button text etc like so:
<asp:CreateUserWizard ID="CreateUserWizard1" runat="server" ContinueDestinationPageUrl="~/BookWork/Protected/AuthorControlPanel.aspx?FirstLogin=true"
DisableCreatedUser="false" Font-Names="Verdana" BackColor="white" CompleteSuccessText="The account has been successfully created. Click the continue button to begin or wait and you will be automatically redirected to your Author Control Panel in 5 seconds."
UnknownErrorMessage="The account was not created. Please try again." OnCreatedUser="CreateUserWizard1_CreatedUser"
CreateUserButtonText="Create New Account!" ContinueButtonStyle-CssClass="CreateUserContinueButton">
whats happening is everytime I hit submit its going to the main ASPX page button. I tried surrounding the ascx into a panel and form but no luck. Also I cant use defaultbutton because it does not have an id. I have textboxes in the wizard area and then the button just creates at the bottom of it. Any idea how I can on enter of any textbox make sure it hits this button it creates?