Hi,
I tried to open a document using the OpenDocumentCommand but it's not working.
Could you provide me some information how to achieve this?
Btw: SaveCommand opens the SaveFileDialog as expected.
best regards
Dietmar
<
Window
x:Class
=
"telerikrtbtest.MainWindow"
xmlns:local
=
"clr-namespace:telerikrtbtest"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Width
=
"525"
Height
=
"350"
mc:Ignorable
=
"d"
>
<
Grid
>
<
Grid.Resources
/>
<
Grid.RowDefinitions
>
<
RowDefinition
Height
=
"Auto"
/>
<
RowDefinition
Height
=
"*"
/>
</
Grid.RowDefinitions
>
<
telerik:RadRibbonButton
x:Name
=
"OpenDocumentButton"
Margin
=
"0,2,2,2"
telerik:RadRichTextBoxRibbonUI.RichTextCommand
=
"{Binding OpenDocumentCommand}"
Content
=
"open"
DataContext
=
"{Binding Commands, ElementName=richTextBoxAdv}"
/>
<
telerik:RadRichTextBox
x:Name
=
"radRichTextBox"
Grid.Row
=
"1"
/>
</
Grid
>
</
Window
>