Hello,
I am using RadRichTextBox in which RadDocument with Paged LayoutMode and Section is used.
When I enter text, Cursor will be at the end.
When I insert image into RichTextBox Image will be displayed after the ‘Text’.
I am using RadRichTextBox in which RadDocument with Paged LayoutMode and Section is used.
When I enter text, Cursor will be at the end.
When I insert image into RichTextBox Image will be displayed after the ‘Text’.
My problem is that, When I Click the mouse on last character in the text or then press end key.
Cursor remains one character before end of text/last character.
Please find attached images for your reference.
Here is the code:
<
telerik:RadRichTextBox
VerticalAlignment
=
"Stretch"
HorizontalAlignment
=
"Stretch"
HorizontalContentAlignment
=
"Stretch"
x:Name
=
"radRichTextBoxFullText"
Grid.Row
=
"1"
BorderBrush
=
"DarkGray"
BorderThickness
=
"1"
FontSize
=
"5"
Foreground
=
"Red"
Grid.RowSpan
=
"2"
IsSpellCheckingEnabled
=
"False"
Width
=
"700"
Height
=
"200"
>
<
telerik:RadRichTextBox.Document
>
<
telerik:RadDocument
LayoutMode
=
"Paged"
DefaultPageLayoutSettings
=
"650,500"
>
<
telerik:Section
PageMargin
=
"5,5,5,5"
>
<
telerik:Paragraph
FontSize
=
"10"
>
</
telerik:Paragraph
>
</
telerik:Section
>
</
telerik:RadDocument
>
</
telerik:RadRichTextBox.Document
>
<
Interactivity:Interaction.Triggers
>
<
Interactivity:EventTrigger
EventName
=
"LostFocus"
>
<
TriggerActions:MapEventToCommand
Command
=
"{Binding OnFullTextLostFocus}"
></
TriggerActions:MapEventToCommand
>
</
Interactivity:EventTrigger
>
<
Interactivity:EventTrigger
EventName
=
"DocumentContentChanged"
>
<
TriggerActions:MapEventToCommand
Command
=
"{Binding OnAnnouncementUpdated}"
></
TriggerActions:MapEventToCommand
>
</
Interactivity:EventTrigger
>
</
Interactivity:Interaction.Triggers
>
</
telerik:RadRichTextBox
>
Please help me in this case.