By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,327 Members | 1,195 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,327 IT Pros & Developers. It's quick & easy.

richtext in a datagrid?

P: n/a
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.

Nov 8 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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

--
David Wier
MVP/ASPInsider
http://aspnet101.com
http://aspexpress.com
"Rerard" <kj**********@yahoo.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
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.

Nov 8 '06 #2

P: n/a
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.

Nov 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.