The System.Windows.Forms.RichTextBox

is a WINDOWS Form control

not a WEB Form control.

You cannot use it in your ASP.NET project.

You need to add a RichTextBox web control.  As I said in my previous post...

Here's a free one...

http://asp.net/ControlGallery/ControlDetail.aspx?Control=3076&tabindex=6

Here's a whole list of more...
http://asp.net/ControlGallery/default.aspx?tabindex=6&Category=0&q=Rich%20Text


On 12 Apr 2007 03:37:13 -0700, Ricky <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> Thanks for ur reply but i have installed that control on my system but I
> don't know how to put it on my webpage. When I am trying to use windows
> Rich Text box by following code :
>
> imports System.Windows.Forms.RichTextBox
>
> MyRichText= new RichTextBox()
>
> me.Controls.Add(MyRichText)
>
> And I get an error: cannot convert from
> 'System.Windows.Forms.RichTextBox' to 'System.Web.UI.Control'
>
> Pls. suggest.
>
> Ricky
>
> --- In [EMAIL PROTECTED] <AspNet2%40yahoogroups.com>, "Dean Fiala"
> <[EMAIL PROTECTED]> wrote:
> >
> > Why in the world would you want to write your own rich text editor? It
> is a
> > wheel already available in many styles and colors.
> >
> > Here's a free one...
> >
> >
> http://asp.net/ControlGallery/ControlDetail.aspx?Control=3076&tabindex=6
> >
> > Here's a whole list of more...
> >
> http://asp.net/ControlGallery/default.aspx?tabindex=6&Category=0&q=Rich%\
> 20Text<http://asp.net/ControlGallery/default.aspx?tabindex=6&Category=0&q=Rich%20Text>
> >
> > If you save the HTML from the textbox to the database it will have the
> same
> > format when you retrieve it. It is most often saved to a text column
> in the
> > database.
> >
> > On 03 Apr 2007 05:07:59 -0700, Ricky [EMAIL PROTECTED] wrote:
> > >
> > >
> > > Hi all,
> > >
> > > I am very new to Web Developer 2005 and also in ASP.Net 2.0.
> > >
> > > I want to develop component like Rich Text Editor like I am using
> here
> > > for writing query for this also which provides functionalities of
> Bold,
> > > Italics etc.
> > >
> > > Also provide me some information about how to store text information
> in
> > > database so that it will be viewed in same formating later.
> > >
> > > I hav recently been shifted from Window Application to Web
> Applications.
> > >
> > > Pls. Suggest.
> > >
> > > Ricky
> > >
> > >
> > >
> >
> >
> >
> > --
> > Dean Fiala
> > Very Practical Software, Inc
> > Now with Blogging...
> > http://www.vpsw.com/blogbaby
> > Microsoft MVP
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Dean Fiala
Very Practical Software, Inc
Now with Blogging...
http://www.vpsw.com/blogbaby
Microsoft MVP


[Non-text portions of this message have been removed]

Reply via email to