Hi,
I am trying to build a project similar to radeditor using RichTextBox for silverlight. I need to be able to import and export it using html.
I have searched all over and cannot find a good demo/example. Can you please post me a simple sample project if possible. I have tried following code and works fine for simple html... but i need top bar such as being able to cut, past, justify etc.. also be able to import/export embedded images:
edit: also it does not show images, if i have an image say from c:\image.jpg in my html as
Basically I need to read html which contains images as above and functionality to print document.(in a sense same to radeditor)
UPDATE :::
I managed to use this sample :http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor and looks what i wanted for top bar and printing seems to work. The only issue is images in html can someone please help???????
I am trying to build a project similar to radeditor using RichTextBox for silverlight. I need to be able to import and export it using html.
I have searched all over and cannot find a good demo/example. Can you please post me a simple sample project if possible. I have tried following code and works fine for simple html... but i need top bar such as being able to cut, past, justify etc.. also be able to import/export embedded images:
string resource = "<
html
><
body
><
h1
>THIS IS TEST</
h1
></
body
></
html
>";
radRichTextBox1.Document = new HtmlFormatProvider().Import(resource);
edit: also it does not show images, if i have an image say from c:\image.jpg in my html as
<img src=\"\\\\c:\\image.jpg\" />
Basically I need to read html which contains images as above and functionality to print document.(in a sense same to radeditor)
UPDATE :::
I managed to use this sample :http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor and looks what i wanted for top bar and printing seems to work. The only issue is images in html can someone please help???????