ChildWindow, Commanding and the RadRichTextBox

2 posts, 0 answers
  1. Dave
    Dave avatar
    32 posts
    Member since:
    Feb 2008

    Posted 29 Apr 2011 Link to this post

    I'm interested in producing this workflow and looking for either a demo, documentation or guidance.

    Importing a file directory document into a current document.  The User opens a ChildWindow, Enter a Title value, Clicks Ok and the event triggers the telerik:RadRichTextBoxRibbonUI.RichTextCommand OpenDocumentCommand.

    Any suggestions are appreciated.

  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 05 May 2011 Link to this post

    Hello Dave,

    I am not quite sure I understand your question.
    The OpenDocumentCommand just opens an OpenFileDialog and loads the chosen file in the editor. You can invoke it like this:


    You cannot have another dialog for choosing the file, due to Silverlight's security policies, but as long as you execute the OpenDocumentCommand on button-click, everything should work OK.
    You can refer to our online help for some examples on importing contents in the rich text box without using the OpenDocumentCommand.
    Let us know if this does not answer your question.

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top