How can I select text and highlight with a yellow background inside a radRichTextBox which is inside a radgridview from c# code behind. Here is my XAML, but when I try to access the radRichTextBox from c# the name is not found?
<
telerik:GridViewDataColumn
Width
=
"300*"
Header
=
"Paragraph"
IsGroupable
=
"False"
IsFilterable
=
"True"
Name
=
"Paragraph"
TextWrapping
=
"Wrap"
DataMemberBinding
=
"{Binding Paragraph}"
>
<
telerik:GridViewDataColumn.CellTemplate
>
<
DataTemplate
>
<
Grid
>
<
telerik:RadRichTextBox
x:Name
=
"radRichPar"
FontSize
=
"10"
/>
<
telerik:TxtDataProvider
RichTextBox
=
"{Binding ElementName=radRichPar}"
Text
=
"{Binding Path=Paragraph, Mode=TwoWay}"
/>
</
Grid
>
</
DataTemplate
>
</
telerik:GridViewDataColumn.CellTemplate
>
from C# I want to access radRichPar to highlight some text programmatically..........it does not appear in intellisense......thanks