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
345 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now