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

RadWindow.Prompt Illegal Characters

1 Answer 71 Views
Window
This is a migrated thread and some comments may be shown as answers.
heavywoody
Top achievements
Rank 1
heavywoody asked on 17 Sep 2014, 08:17 PM
I am using the RadWindow.Prompt for a user to rename files and folders.  Is there a way for me to give the textbox that comes up in the Prompt the ability to ignore illegal filename characters?  { '\\', '/', '*', '<', '>', ':', '"', '?', '|' }).   Beyond Prompt I don't see how to access any other properties to do that.  I want the same behavior as Windows Explorer where if an illegal character is entered, it is just ignored as if it wasn't typed.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Sep 2014, 01:53 PM
Hello,

In this case you should customize the template of RadPrompt and add some additional logic for the input control in it to avoid these characters. Please check the Styling the Predefined Windows topic in our documentation. Note that the default Style of RadPrompt could be taken from your installation folder as described in the Editing Control Templates topic.

Hope this will help.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Window
Asked by
heavywoody
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or