This is a migrated thread and some comments may be shown as answers.

FindNameInContent

1 Answer 29 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Louis Bouchard
Top achievements
Rank 1
Louis Bouchard asked on 09 May 2011, 09:55 PM
Hello,

The  Loaded event of the RadRichTextBox is not fire when I move record to record.

So, in my RadDataForm, I have a RadRichText control.  How I can manage the RadRichTextBox in this code?

I need to manipulate it thru the CurrentItemChanged event of the RadDataForm.

<telerik:DataFormDataField Grid.Row ="1" Grid.Column="0" Grid.ColumnSpan="2" Width="800" HorizontalAlignment="Left"  IsEnabled="False" DataMemberBinding="{Binding Note, Mode=TwoWay}" >
    <telerik:DataFormDataField.ContentTemplate>
        <DataTemplate>
            <telerik:RadRichTextBox  x:Name="richTextBox" Width="690" Height="250" Margin="-195,0,0,0" BorderBrush="#a1acb7"  BorderThickness="1" Background="#ebebeb" IsReadOnly="True"  IsSpellCheckingEnabled="False" IsSelectionMiniToolBarEnabled ="False"  IsContextMenuEnabled="False" Loaded="richTextBox_Loaded" >
                <telerik:RadRichTextBox.Resources>
                    <telerikHtml:HtmlDataProvider x:Key="htmlDataProvider" RichTextBox="{Binding ElementName=richTextBox}"  Html="{Binding Body, Mode=TwoWay}" />
                </telerik:RadRichTextBox.Resources>
            </telerik:RadRichTextBox>
        </DataTemplate>
    </telerik:DataFormDataField.ContentTemplate>
</telerik:DataFormDataField>


1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 10 May 2011, 02:56 PM
Hello Louis Bouchard,

I have just answered your question in the other forum thread. Please, in order to maintain a fruitful and consistent dialogue, let's carry out any further communication there.

Best wishes,
Ivan Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
DataForm
Asked by
Louis Bouchard
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or