9 Answers, 1 is accepted
Hello Patrick,
You can achieve your requirement by using the KeyDown event of file dialog. I've attached a small example showing this approach. I hope it helps.
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
Hello Martin,
This is not a good solution:
- The shortcut can change depending on the user language.
- There is no visual clue of the shortcut as in other (Windows) dialogs.
- How can we access easily all the controls of the dialog?
Why don't you use the WPF Label control, where the shortcut is simply in the text?
Hello Patrick,
Can you please send me a picture of the visual clue of the shortcut you mentioned, so I can get a better idea how does it look?
About the easier access to all controls in the dialogs, there is no public API for this. To access a control from the dialog you can use the ChildrenOfType extension method.
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
Hi Martin,
Here is the picture, look at the underline under "N". The visual clues are displayed when you press the "Alt" key on the keyboard.
I find incredible that you don't know this.
Hello Patrick,
Thank you for the picture. Can you also tell me what shortcuts do you expect in the RadFileDialogs?
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
Hello Martin,
As said before, it depends on the language.
For example, FileDialogs_Save: should be "S" in English (_Save) and "E" in French (_Enregistrer).
Hello Patrick,
This is a good point. However, my question was more like - what functionality should the shortcuts cover? For example, save, focus the text input, focus the search bar, etc. I need this information so I can collect a more specific set of features that should be covered.
Regards,
Martin Ivanov
Progress Telerik
Our thoughts here at Progress are with those affected by the outbreak.
Hi Martin,
Normally, all the functions that are accessible with the keyboard (Tab key) should have a shortcut. So it really should be all buttons, text boxes, lists, grid views, ...
Hello Patrick,
Thank you for the continuous cooperation on this topic. Based on your feedback we have logged a feature request to introduce keyboard shortcuts support. You can also find your Telerik points updated.
Regards,
Martin Ivanov
Progress Telerik