Connecting Tech Pros Worldwide Help | Site Map

How to use RichTextBox in ASP.NET?

Neo Chou
Guest
 
Posts: n/a
#1: Nov 17 '05
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


Scott M.
Guest
 
Posts: n/a
#2: Nov 17 '05

re: How to use RichTextBox in ASP.NET?


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.


"Neo Chou" <neochou@hotmail.com> wrote in message
news:eLfXPeWVDHA.3148@tk2msftngp13.phx.gbl...[color=blue]
> 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[/color]
adding[color=blue]
> it to my Web Control list or by writing "<asp:RichTextBox id="c1" />" in[/color]
the[color=blue]
> 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
>
>[/color]


Steve C. Orr, MCSD
Guest
 
Posts: n/a
#3: Nov 17 '05

re: How to use RichTextBox in ASP.NET?


You might consider a third party solution such as these:
http://www.textboxpro.net/demo/default.aspx
http://www.richtextbox.com/richtextbox/

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net


"Neo Chou" <neochou@hotmail.com> wrote in message
news:eLfXPeWVDHA.3148@tk2msftngp13.phx.gbl...[color=blue]
> 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[/color]
adding[color=blue]
> it to my Web Control list or by writing "<asp:RichTextBox id="c1" />" in[/color]
the[color=blue]
> 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
>
>[/color]


Closed Thread