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

RichTextBox Open Command File Name

1 Answer 8 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Minh
Top achievements
Rank 1
Minh asked on 23 Mar 2016, 03:16 PM
Hi, I'm using the default OpenDocumentCommand to open a file, I was wondering is there a way to get that file name and save it to a public variable? 

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 28 Mar 2016, 01:02 PM
Hello Minh,

You could find how a similar scenario could be implemented in the Save and Save as from our SDK repository. This example shows how you could implement a Save functionality that will preserve the location of the file and will save it without asking for it.

Hope this helps.

Regards,
Tanya
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
RichTextBox
Asked by
Minh
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or