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

new line in spell check control while checking multiple controls

1 Answer 22 Views
Spell
This is a migrated thread and some comments may be shown as answers.
p
Top achievements
Rank 1
p asked on 15 Jan 2010, 09:14 PM
The spell check control inserts a newline  when the control is empty. Is there anyway i can avoid that. I have attached a screenshot of the problem.

One way i was thinking about doing it was dynamically adding/removing controls to the spellcheck depending on the content of the controls.

You can reproduce the behavior on your demo page.
http://demos.telerik.com/aspnet-ajax/spell/examples/multiplechecks/defaultcs.aspx


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Jan 2010, 10:52 AM
Hi,

The new line <br> tag is added by design as a separator and it t puts the text of the each subsequent textbox on a new line.

Your approach is OK and you can implement it.

Another approach implement a custom text source and you will be able to set the content that you want to check:  http://demos.telerik.com/aspnet-ajax/spell/examples/textsource/defaultcs.aspx



All the best,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Spell
Asked by
p
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or