RichTextBox - Text Data No Longer Appearing with Q1 2014 Controls

2 posts, 0 answers
  1. Chris
    Chris avatar
    1 posts
    Member since:
    Nov 2012

    Posted 15 May 2014 Link to this post

    I have implemented the Q1 2014 Silverlight UI controls, and now my RadRichTextBox'es which were displaying data from the db via the TxtDataProvider no longer display the data. Do I need to use a different provider or something with this release?

    My XAML is below and I have attached a screenshot.

    Thanks

    ​<telerikTxt:TxtDataProvider Name="TxtDataProvider" RichTextBox="{Binding ElementName=ScheduleRTB}"
    Text="{Binding Path=CertificateUpdateableItems.WaiverSchedule, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
    SetupDocument="TxtDataProvider_SetupDocument">
    </telerikTxt:TxtDataProvider>
    <telerik:RadRichTextBox x:Name="ScheduleRTB" HorizontalAlignment="Stretch"
    VerticalAlignment="Stretch" FontSize="13"
    DocumentInheritsDefaultStyleSettings="True"
    FontFamily="Arial"
    IsSpellCheckingEnabled="True"
    IsContextMenuEnabled="True" Loaded="ScheduleRTB_Loaded"
    IsReadOnly="{Binding Path=EditWaiverIsReadOnly}"
    LayoutMode="Flow"
    Margin="18,0,86,5"
    VerticalScrollBarVisibility="Auto"
    Background="White" IsEnabled="True" Height="100" Grid.Row="1"
    Grid.ColumnSpan="5"
    IsFocusable="True"
    GotFocus="ScheduleRTB_GotFocus"
    LostFocus="ScheduleRTB_LostFocus"
    Grid.RowSpan="3"
    TabIndex="15"
    DocumentContentChanged="WaiverItemsRichTextBox_DocumentContentChanged"
    TabNavigation="Cycle">
    <telerik:RadRichTextBox.Resources>
    <Style TargetType="telerik:DocumentWebLayoutPresenter">
    <Setter Property="Background" Value="Transparent" />
    </Style>
    <Style TargetType="telerik:DocumentPrintLayoutPresenter">
    <Setter Property="Background" Value="Transparent" />
    </Style>
    </telerik:RadRichTextBox.Resources>
    </telerik:RadRichTextBox>
  2. Petya
    Admin
    Petya avatar
    975 posts

    Posted 16 May 2014 Link to this post

    Hello Chris,

    I'm afraid we are unaware of such issue and I was unable to replicate it with the code you provided. Could you please try isolating the issue in a sample project and send it to us through a support ticket? This way we will be able to troubleshoot the problem on our end and provide a suggestion.

    We are looking forward to hearing from you.

    Regards,
    Petya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. DevCraft banner
Back to Top