I have to be missing something. Trying to use RadRichTextBox in LightSwitch. LS screen is getting a binary as a parameter (screen variable) that is a MS Word docx file. I need to get that into the custom Silverlight control that is the RadRichTextBox. Custom control is on the LS screen. And here is my xaml of the Silverlight control.
<Grid x:Name="LayoutRoot" Background="White" Margin="0,0,0,0">
<telerik:DocxDataProvider Docx="{Binding ElementName=Screen.myBinaryFile}" RichTextBox="{Binding ElementName=radRichTextBox}" />
<telerik:RadRichTextBox x:Name="radRichTextBox" DocumentInheritsDefaultStyleSettings="True" Height="60"
HorizontalScrollBarVisibility="Hidden" IsSelectionMiniToolBarEnabled="True" IsReadOnly="True"
IsSpellCheckingEnabled="False" IsContextMenuEnabled="True" VerticalScrollBarVisibility="Hidden" Width="800" FontSize="10" />
</Grid>
This is pretty simple stuff but I seem to be missing something.
Thanks in advance,
Greg