Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 78072

HTML Email viewer

$
0
0

Hello,

I am trying to create a email message viewer like Outlook using the RichTextbox.

Is this the right control to use for this scenario?

The viewer should be able to display plain-text emails and HTML emails.

 

I implemented it partially but I cant get the scrollbar visiblewhen the message is longer then what can be contained in the richtextbox.

<ContentControlGrid.Row="6"Grid.Column="0"Grid.ColumnSpan="3">
    <Grid>
        <telerikHtml:HtmlDataProviderHtml="{Binding BodyText, Mode=TwoWay}"
                                        RichTextBox="{Binding ElementName=rtbHtmlEmail}"x:Name="htmlDataProvider"/>
        <ScrollViewerHorizontalScrollBarVisibility="Auto"VerticalScrollBarVisibility="Auto">
            <telerik:RadRichTextBoxx:Name="rtbHtmlEmail"Padding="15"
                                    MinWidth="800"MinHeight="650"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Stretch"
                                    HorizontalContentAlignment="Left"
                                    VerticalContentAlignment="Top"
                                    IsReadOnly="True"
                                    LayoutMode="Flow"/>
        </ScrollViewer>
    </Grid>
</ContentControl>
    

Viewing all articles
Browse latest Browse all 78072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>