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
369 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 500 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: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 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