Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: RichTextBox ActiveX Control, Need Help!


Message #1 by "Noumaan Abubakar" <noumaan_abubakar@m...> on Mon, 18 Jun 2001 17:26:20
Can somebody help??



Has anybody ever used a RichTextBox ActiveX control successfully in their 

ASP 

pages??



I want the client to basically have the ability to enter text and format 

the 

block of text (bold, italic, etc.) using a RichTextBox control. When the 

user has 

entered some text and formatted it, the user can store the text in a 

database.



I have embedded the RichTextBox control on the asp page, however I can't 

do 

simple formatting like making some selected text bold. I have got a button 

on the 

page which when clicked on is supposed to invoke code to make the selected 

text 

bold.



However I just keep getting the following error message:



    Object required: ''



I have also tried setting text in the RichTextBox by pressing a button, 

which is 

supposed to set the text displayed to some predefined text, when the 

button is 

pressed. However I get the same error message.



Does anyone know why I keep getting the error message?? What am I doing 

wrong?



Thankyou in advance



Noumaan

Message #2 by Koduru Srinivasa <skoduru_reddy@y...> on Tue, 19 Jun 2001 07:52:30 -0700 (PDT)
if u r objective is only making the text bold, italic,

bullets etc - simple formatting at client side u can

acheive all those with DHTML with out richtext

control.



-srinivas

--- Noumaan Abubakar

<noumaan_abubakar@m...> wrote:

> Can somebody help??

> 

> Has anybody ever used a RichTextBox ActiveX control

> successfully in their 

> ASP 

> pages??

> 

> I want the client to basically have the ability to

> enter text and format 

> the 

> block of text (bold, italic, etc.) using a

> RichTextBox control. When the 

> user has 

> entered some text and formatted it, the user can

> store the text in a 

> database.

> 

> I have embedded the RichTextBox control on the asp

> page, however I can't 

> do 

> simple formatting like making some selected text

> bold. I have got a button 

> on the 

> page which when clicked on is supposed to invoke

> code to make the selected 

> text 

> bold.

> 

> However I just keep getting the following error

> message:

> 

>     Object required: ''

> 

> I have also tried setting text in the RichTextBox by

> pressing a button, 

> which is 

> supposed to set the text displayed to some

> predefined text, when the 

> button is 

> pressed. However I get the same error message.

> 

> Does anyone know why I keep getting the error

> message?? What am I doing 

> wrong?

> 

> Thankyou in advance

> 

> Noumaan

> 

Message #3 by dcameron@i... on Mon, 25 Jun 2001 08:00:43
How can you use DHTML to do bold, italic and bullets? I have done a 1/2 

hour web trawl and have yet to find anything. Could you point me to a site 

that does this, or a tutorial on it?



> if u r objective is only making the text bold, italic,

> bullets etc - simple formatting at client side u can

> acheive all those with DHTML with out richtext

> control.

> 

> -srinivas

> --- Noumaan Abubakar

> <noumaan_abubakar@m...> wrote:

> > Can somebody help??

> > 

> > Has anybody ever used a RichTextBox ActiveX control

> > successfully in their 

> > ASP 

> > pages??

> > 

> > I want the client to basically have the ability to

> > enter text and format 

> > the 

> > block of text (bold, italic, etc.) using a

> > RichTextBox control. When the 

> > user has 

> > entered some text and formatted it, the user can

> > store the text in a 

> > database.

> > 

> > I have embedded the RichTextBox control on the asp

> > page, however I can't 

> > do 

> > simple formatting like making some selected text

> > bold. I have got a button 

> > on the 

> > page which when clicked on is supposed to invoke

> > code to make the selected 

> > text 

> > bold.

> > 

> > However I just keep getting the following error

> > message:

> > 

> >     Object required: ''

> > 

> > I have also tried setting text in the RichTextBox by

> > pressing a button, 

> > which is 

> > supposed to set the text displayed to some

> > predefined text, when the 

> > button is 

> > pressed. However I get the same error message.

> > 

> > Does anyone know why I keep getting the error

> > message?? What am I doing 

> > wrong?

> > 

> > Thankyou in advance

> > 

> > Noumaan

> > 

  Return to Index