How to use RichTextBox in ASP.NET?

  • Thread starter Thread starter Neo Chou
  • Start date Start date
N

Neo Chou

Greetings!

I'm trying to make my ASPX page able to process WORD format document. I
learned that RichTextBox might help me, but I can't use it either by adding
it to my Web Control list or by writing "<asp:RichTextBox id="c1" />" in the
ASPX file. The error message shows "Cannot find RichTextBox in the
namespace of web controls" (something like that). Is there any way to add
RichTextBox in ASPX file? Or where can I find a substitute?

Thanks in advance!

Neo
 
A RichTextBox control is an ActiveX control, which is not native to .NET.
Use the standard Web Forms TextBox control and you should find similar
functionality. If you must use the RTB, you can right click on the ToolBox
and add it From the COM/ActiveX category.
 
Back
Top