richtext in a datagrid?

  • Thread starter Thread starter Rerard
  • Start date Start date
R

Rerard

Hello. I need to be able to have a datagrid with richtext in a cell.
THen on top of that the text has to be formatable via buttons. What I
have been able to do is have a richtextbox with a word style toolbar
for formatting. And I have been able to get a datagrid so text from
word can be pasted into it with formatting. But I cant seem to get over
that last hump of being able to format/edit the text direclty in the
cell. Also for some reason after I paste formatted text into a cell,
when I click on something else the text will turn into plain
unformatted text. I am open to purchasing a third party datagrid as Iv
read that the one that comes with vb.net is not feature rich. I have
already tried several but just can't seem to get it quite right. The
closest I got was with rustemsofts datagridtexteditcolumn but I could
not get over the problem of formatted text morphing to plain text after
clicking away from the cell. Im getting pretty desperate here, any help
is appreciated.
 
I'm assuming we're talking about ASP.Net here, since you said 'datagrid'
You can create an ItemTemplate for that field, and put in a RichTextBox
control. There are some on the market for sale, like the one at
http://richtextbox.com/
However, there is a free one also, at http://freetextbox.com
Just put one of those inside the template field and work with Rich text to
your heart's content
 
Those look like exactly what I need but unfortunately I am working in
vb.net, any ideas? Also I need to have the formatting toolbar stay in
one spot while the textbox itself moves around.
 
Back
Top