Hi Team,
I am facing one problem that binding data when it's loaded inside RadRichTextBox control not been properly displayed.
kindly look into this code,i have given all the properties related alignment but still its not working.
<telerik:RadGridView.RowDetailsTemplate>
<DataTemplate>
<Grid VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<telerik:RadRichTextBox x:Name="richTextBox" ScrollViewer.VerticalScrollBarVisibility="Auto"
Grid.Row="0" Width="980" MaxWidth="980"
Grid.Column="0" Padding="10,0,0,0"
Height="100" VerticalContentAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center"
IsReadOnly="True" HorizontalAlignment="Right"
IsSpellCheckingEnabled="False"
IsSelectionMiniToolBarEnabled="False"
IsContextMenuEnabled="False"
IsSelectionEnabled="False"
/>
<telerikhtml:HtmlDataProvider x:Name="HtmlDataProvider"
Html="{Binding EmailBody}"
RichTextBox="{Binding ElementName=richTextBox}" />
</Grid>
</DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
Also,PFA of image,in that one particular row is maximize RadRichTextBox comes up.In that Content of table (header name & value) is shifted to the left.Its not properly aligned with Table structure.
Please provide the solution.
Looking forward your reply.
Regards,
Pooja
I am facing one problem that binding data when it's loaded inside RadRichTextBox control not been properly displayed.
kindly look into this code,i have given all the properties related alignment but still its not working.
<telerik:RadGridView.RowDetailsTemplate>
<DataTemplate>
<Grid VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<telerik:RadRichTextBox x:Name="richTextBox" ScrollViewer.VerticalScrollBarVisibility="Auto"
Grid.Row="0" Width="980" MaxWidth="980"
Grid.Column="0" Padding="10,0,0,0"
Height="100" VerticalContentAlignment="Stretch" VerticalAlignment="Center" HorizontalContentAlignment="Center"
IsReadOnly="True" HorizontalAlignment="Right"
IsSpellCheckingEnabled="False"
IsSelectionMiniToolBarEnabled="False"
IsContextMenuEnabled="False"
IsSelectionEnabled="False"
/>
<telerikhtml:HtmlDataProvider x:Name="HtmlDataProvider"
Html="{Binding EmailBody}"
RichTextBox="{Binding ElementName=richTextBox}" />
</Grid>
</DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
Also,PFA of image,in that one particular row is maximize RadRichTextBox comes up.In that Content of table (header name & value) is shifted to the left.Its not properly aligned with Table structure.
Please provide the solution.
Looking forward your reply.
Regards,
Pooja