I have a problem with .Net RichTextBox . It doesn't seem to support formatting table cells, which is ridiculous, because most of the time when I create tables, I want the contents of the cell to be right-aligned (numbers, currency).
If I try to open a WordPad document in a RichTextBox, it ignores (and actually deletes ) the cell alignment commands. I tried several workarounds but failed.
Can anyone think of an idea to fix this? (without using fixed-width fonts and spaces) This would be a better solution, as the other code is already working fine, so if necessary, this is a dirty hack, that would be great.
Or is there an open source alternative for .Net Rich Text Editor that you can recommend? I need a user control that I can embed in my Windows form and programmatically access the content (create content or add something). For a while I was looking for a website, but found only controls (Ajax / Javascript).
There are also WYSIWYG HTML editors that I could use, but they are mostly IE browsers built-in and edited using MSHTML, and it's a little strange that in the Winforms application (maybe I'm wrong), And in this case we need additional time to create a content generator for HTML - although it is much easier to read and generate than RTF IMHO.
What do you guys find better for this purpose?
source share