This is a migrated thread and some comments may be shown as answers.

Asterisk and Underscore in the RadEditor multiline body

3 Answers 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jo Bert
Top achievements
Rank 1
Jo Bert asked on 19 Dec 2008, 09:37 AM
Hi Telerik,

I would like to clarify the behavior of the Radeditor. Currently we are using the full version of the RadEditor, and I noticed that whenever I enter more than 2 asterisks and then save the item, there is an error when vewing the item. Same error goes when I enter more than 3 underscores.

Can you explain this behavior?

Thanks,
Jo Bert

3 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 19 Dec 2008, 03:17 PM
Hey Jo Bert,

Hmm, which version are you using?  I use RadEditor for an internal site that saves info (via Linq to SQL) to a database and then retrieves it back to update throughout the day.  I put in a few lines of mixed *'s and _'s and was able to save, retrieve, and re-display the line items without fail.

Could you post the code you are doing this with?  It could be a matter of how they're saving, because I know I had to jump through a few hoops with ASP and SQL (nothing editor related) to get the data through to the system and back to display.
0
Jo Bert
Top achievements
Rank 1
answered on 06 Jan 2009, 06:57 AM
Hi Serrin,

Sorry, I think I mislead you in my previous thread, we didn't use any code here. We activate the RadEditor in our site, this automatically  make all multiple lines of text to RADEditor. the problem I encountered was when I input text in the RADEditor multiple lines of text.

Hope someone from Telerik can help me regarding this issue. I want to know if this is the expected behavior in the RadEditor.

thanks for the reply Serrin.
0
Tervel
Telerik team
answered on 06 Jan 2009, 08:33 AM
Hello Jo Bert,

I am not able to reproduce and confirm such a behavior.
For test purposes I used the following online demo which saves RadEditor content in a database.
http://demos.telerik.com/aspnet-ajax/Editor/Examples/SaveInDatabase/DefaultCS.aspx






To answer your question: this is not the expected behavior. The editor should transfer to the server any content that is entered on the client - be it asterisks, underscores or other characters.

Furthermore, you are the first person to report such an issue. At this point it seems that the most likely reason would be in the code that you execute to save the editor content. Providing us with the exact error message would be of great help to provide more feedback.

Best regards,
Tervel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Jo Bert
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Jo Bert
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or