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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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 …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 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

21 Experts available now in Live!

Get 1:1 Help Now