Unplanned
Last Updated: 24 Aug 2018 12:59 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 13 Jul 2018 06:51
Category: Dock
Type: Bug Report
1
FIX. RadWizard - Tab key doesn't work correctly when the wizard is inside a UserControl in a DocumentWindow
To reproduce: run the application. On the first DocumentWindow there is a UserControl with a wizard. Pressing the Tab key will navigate the command buttons. On the second DocumentWindow there is a similar wizard which is NOT hosted in a UserControl. 

Workaround: Currently, you can override the ProcessDialogKey method of RadWizard  and handle the Tab key where you can perform the desired logic, e.g. select a specific control:

        public class MyWizard : RadWizard
        {
            protected override bool ProcessDialogKey(Keys keyData)
            {
                if (keyData == Keys.Tab)
                {
                    WizardPage page = this.SelectedPage;
                    page.ContentArea.Controls[0].Focus();
                    return false;
                }
                return base.ProcessDialogKey(keyData);
            }
        }
0 comments