Troy Clemons
Top achievements
Rank 1
Troy Clemons
asked on 30 Apr 2010, 01:11 PM
I am trying to insert an image into the RadRichTextBox Control, but it seems
I can only find a way to setText only.
Thanks Troy
I can only find a way to setText only.
Thanks Troy
5 Answers, 1 is accepted
0
Hello Troy Clemons,
We are very glad you decided to give a spin of our new control. Currently RadRichTextBox odes not support inserting images or any other kind of elements other than formatted text. We are though working at this feature as we speak and they will be available in the first official version of the product in Q2 (mid July) as well as in the beta version that should be released several weeks before Q2.
Sincerely yours,
Mike
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.
We are very glad you decided to give a spin of our new control. Currently RadRichTextBox odes not support inserting images or any other kind of elements other than formatted text. We are though working at this feature as we speak and they will be available in the first official version of the product in Q2 (mid July) as well as in the beta version that should be released several weeks before Q2.
Sincerely yours,
Mike
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.
0
Troy Clemons
Top achievements
Rank 1
answered on 30 Apr 2010, 05:39 PM
Thank youf or the quick response on this matter.
I am glad to hear that images will be supported and soon.
So far the testing of the silverlight controls is going good, and the results are excellent.
Thank You Troy
I am glad to hear that images will be supported and soon.
So far the testing of the silverlight controls is going good, and the results are excellent.
Thank You Troy
0
We are very glad to her this Troy!
We will help with whatever we can to make it easier for you during the testing period.
Kind regards,
Mike
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.
We will help with whatever we can to make it easier for you during the testing period.
Kind regards,
Mike
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.
0
David
Top achievements
Rank 1
answered on 19 Nov 2011, 04:32 PM
Hello has this feature been added yet? Do you have some sample code on how to do this using mvvm pattern. I am currently trying to use the XamlDataProvider, but when I paste an image in it does paste but the image is not visible. Here's a sample code
private
string
xamlText;
public
string
XamlText
{
get
{
return
xamlText; }
set
{
if
(xamlText != value)
{
xamlText = value;
RaisePropertyChanged(
"XamlText"
);
}
}
}
<
StackPanel
>
<
telerikXaml:XamlDataProvider
RichTextBox
=
"{Binding ElementName=radRich}"
Xaml
=
"{Binding Path=XamlText, Mode=TwoWay}"
></
telerikXaml:XamlDataProvider
>
<
telerik:RadRichTextBox
x:Name
=
"radRich"
/>
</
StackPanel
>
0
Hi David,
Iva Toteva
the Telerik team
Inserting images can be done using the InsertPictureCommand or the methods from RadRichTextBox's API. For more information, please refer to this forum thread.
When it comes to binding the content of the document with XamlDataProvider, you can see the demo in this forum thread.
The only difference between WPF and Silverlight is that images cannot be pasted in Silverlight, because the clipboard supports only plain text.
Iva Toteva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>