This is a migrated thread and some comments may be shown as answers.

RadWizard default button is Cancel not Next

2 Answers 129 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 19 Dec 2014, 10:42 AM
I have a standard wizard with start, 2 steps and finish RadWizardSteps. On the Start Step I have a toggle Radbutton with the default Add New Product checked.

If I just hit the enter key nothing happens.
If I click anywhere within the wizard and hit enter the focus jumps to the built-in Cancel button and the Cancel action is performed (redirect to home page)

If I toggle to the other button Add New Product based on... This triggers some serverside code which displays a RadTextBox for the user to enter the existing product they want to base the new product on.

Entering a value in the RadTextBox and hitting enter the focus jumps to the built-in Cancel button and the Cancel action is performed.

How can I make the built-in Next button the default button?

2 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 22 Dec 2014, 12:21 PM
Hello Jon,

Here is the code that I added to the page that focused the next button prior the cancel one:
function pageLoad() {
              var $ = $telerik.$;
              $(".rwzCancel").attr("tabIndex", "2");
            
          }

Hope this will help you solve the issue.

Regards,
Plamen
Telerik
0
Jon
Top achievements
Rank 1
answered on 22 Dec 2014, 02:51 PM
Thanks... That's great... will check with Previous button showing also.
Tags
Wizard
Asked by
Jon
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Jon
Top achievements
Rank 1
Share this question
or