RichTextBox Open Command File Name

2 posts, 0 answers
  1. Minh
    Minh avatar
    43 posts
    Member since:
    May 2014

    Posted 23 Mar Link to this post

    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? 
  2. Tanya
    Admin
    Tanya avatar
    402 posts

    Posted 28 Mar Link to this post

    Hello Minh,

    You could find how a similar scenario could be implemented in the Save and Save as demo 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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top