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
363 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

803 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