473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

richtext in a datagrid?

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
2 2343
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pete Griffint | last post by:
Howdy! I want to get the following in a Richtext control: Paragraph 1.... Paragraph 2... Obviously I want to do something like rtb.SelectedText="Paragraph 1...";...
0
by: Lukas Thanei | last post by:
Hi, Im trying for 2 days to solve a problem but now Im on a point where all ideas exhausted. Im writing a software to print out some cards containing richtext and images. To print the...
2
by: Du | last post by:
I like richtext textbox and its shortcut, but I don't need the richtext format. How do I tell the richtext text box to strips all the format and convert everything to plain text? Thanks
3
by: Tracey | last post by:
Hi, there. I was stuck on how to show a column of richtext in my datagrid on winform. I checked MSDN and found nothing helpful. Can someone tell me is it possible to do that ? Thanks!!
4
by: JC - home | last post by:
Hello.. I've been having some problems for a little while with this which I was sure I would beat...hmmm. Anyway, I have a form with two rich textboxes. One at the top which is to display a...
2
by: Gary Shell | last post by:
I have a very ODD situation. I have a RichTextBox and a button. In the button click event I have the following: me.richtextbox1.SelectedText="test" Assuming I start with "aaaabbbbcccc" in...
3
by: rigamonk | last post by:
Is there a way to save richtext from a richtextbox into an access DB using vb.net? thanks patrick
3
by: tlyczko | last post by:
I have Stephen Lebans' RichText control on a subform, which is bound to a memo field. The only editable control on this subform is the rich text control for the memo field. When the main form...
0
by: giddy | last post by:
hi , i made a little RtfEncapsulator. Its a class thats called RichText , it has an RtfElementCollection which takes any class that exposes the IRtfElement interface. I managed to make an...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.