Can not get image information from Silverlight RichTextEditor -
i'm trying use silverlight richtexteditor in our website. we'd translate content in richtextbox html code save , load.
however, know, richtextbox control not support uielements output. when insert image in richtextbox, richtextbox use inlineuicontainer show image. property richtextbox.xaml not include information image. shows code "".
does have problem , handle before?
richtextbox.xaml strips out lot of things, security safeguard (more setter getter far recall, both ways there no round-trip surpises).
i recommend looking @ xaml serializer written david poll on blog (here: http://www.davidpoll.com/2010/07/25/to-xaml-with-love-an-experiment-with-xaml-serialization-in-silverlight/ ) can serialize rtb awesomely (it's in fact 1 of test cases shows). david pm on silverlight xaml parser in sl4, knows awful lot xaml.
but careful when setting .xaml property, mistakenly end spinning inlineuicontainer elements load resources appdomain don't want in there, make sure control inputs or strip them carefully.
Comments
Post a Comment