Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can this be added to my RTB editor?   I want to add   Insert Header/footer like in MS Word can it be done?

Posted on 2007-04-04
4
Medium Priority
?
387 Views
Last Modified: 2008-01-09
Wrote an editor program yesterday following a great tutorial ..... anyway, I am using RTB control and I would like to add insert Header/footer like what you see in Microsoft Word ...

Can anyone share where I might find a tutorial on how to do this or have an example you can point me to .. or can it even be done in an RichTextBox control?

I think it would be a nice feature for my editor .....

Mark
0
Comment
Question by:vbMarkO
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 5

Expert Comment

by:mytonytiger
ID: 18857320
I ran into the same problem some months back. Microsoft's Richtextbox does NOT support footers and headers. So, what I ended up doing was breaking it up a bit. The main RTB on the user screen contains the body of the letter(all pages). Then, when they wanted to edit the header or the footer, I would pop up another form with 2 Richtextboxes; 1 for the header and another for the footer.

Then, when they wanted to see what the document looked like (print preview), I would add the margins, and add the header and footer to each page.  
0
 
LVL 5

Expert Comment

by:mytonytiger
ID: 18857342
If you have time, you can roll your own, but it would be a complex project of it's own. You might instead consider buying a 3rd party control that already does this. It will be much, much cheaper than paying a developer a month or two (or more) of wages to write one, not to mention testing, debugging, and maintaining it.
0
 

Author Comment

by:vbMarkO
ID: 18860551
hmmm How disapointing :(  I was hoping this wouldn't be such a pain ...  but I uderstand limitations are limitations and nothing can be done about that ...

Ok, well then, could anyone reccomend a third party control that will get the job done but wont break the bank?

Mark
0
 
LVL 5

Accepted Solution

by:
mytonytiger earned 2000 total points
ID: 18864030
I would go to http://www.componentsource.com 

You can narrow the search to .NET > Text Word Processing controls


Currently, I'm downloading Syncfusion Essential DocIO - .NET Component - V4.4.0.51 for evaluation. ($485.10 for 1 developer).

There's another one called TX Text Control Professional Edition v13
But, it's about $1400 for 1 developer. I'm sure it's more powerful, but I can't afford it.

Here are the links to some I've found:
http://www.componentsource.com/products/syncfusion-essential-docio/index.html
http://www.componentsource.com/products/aspose-editor-net/index.html
http://www.componentsource.com/products/tx-text-control-bundle-professional/index.html
http://www.componentsource.com/products/netrix-editor-advanced/index.html

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question