RadWizard default button is Cancel not Next

3 posts, 1 answers
  1. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 19 Dec 2014 Link to this post

    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. Answer
    Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 22 Dec 2014 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 22 Dec 2014 in reply to Plamen Link to this post

    Thanks... That's great... will check with Previous button showing also.
Back to Top