Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Using RichTextBox ActiveX control (This is a difficult problem!)


Message #1 by "Noumaan Abubakar" <noumaan_abubakar@m...> on Mon, 18 Jun 2001 16:56:20
Can anybody help me??



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 "Taher Moiyed" <taherm@f...> on Thu, 21 Jun 2001 16:50:39 +0100
Hi Noumaan

can you show me teh rpocedure of getting a richtextbox control on an asp

page.



i would greatly appreciate your help

taher

-----Original Message-----

From: Noumaan Abubakar [mailto:noumaan_abubakar@m...]

Sent: 18 June 2001 16:56

To: ASP Databases

Subject: [asp_databases] Using RichTextBox ActiveX control (This is a

difficult problem!)





Can anybody help me??



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