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

Image gets displayed in Spellchecker

4 Answers 40 Views
SpellChecker
This is a migrated thread and some comments may be shown as answers.
Yogesh
Top achievements
Rank 1
Yogesh asked on 17 Oct 2011, 09:03 AM
Hi,

We are using RadSpell Control(  .ver 2:9:1:0) in our application and we are licensed user.
We have issue is that the HTML content we enter in the control is getting displayed in the Spellchecker window.
Suppose i have entered a image tag in our control that image is getting displayed in the Spellchecker. i have attached a file(spellchecker.png) for your reference.
 We want to display only text in spellchecker window not the image and other HTML emelents.
Please let us know how we can achieve this.

Thanks,






 

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Oct 2011, 03:48 PM
Hi Yogesh,

Could you please try the following configuration method set_checkTextAsHtml(false), e.g.

<script type="text/javascript" id="telerikClientEvents1">
//<![CDATA[
 
    function RadSpell1_CheckStarted(sender, args) {
        sender.get_textSource().set_checkTextAsHtml(false);
    }
//]]>
</script>
 
<telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="TextBox1" onclientcheckstarted="RadSpell1_CheckStarted" />
<asp:TextBox ID="Textbox1" runat="server" />


Greetings,
Rumen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Rumen
Telerik team
answered on 20 Oct 2011, 08:25 AM
Hi Yogesh,

The problem should be also fixed in the latest version of RadControls for ASP.NET AJAX Q2 2011 SP1.

Kind regards,
Rumen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Yogesh
Top achievements
Rank 1
answered on 31 Oct 2011, 10:28 AM
Hi Rumen,

Thanks for the reply.

I have tried  your your solution but  that dosent work, after adding the code snipet given by you, the spellcheck window dosent get opened.
Please advice.


Regards

Yogesh.
0
Rumen
Telerik team
answered on 31 Oct 2011, 03:09 PM
Hi Yogesh,

The provided solution applies to RadSpell for ASP.NET AJAX (Telerik.Web.UI.dll) and it does not work for the classic version (RadSpell.dll).

The development and support for RadSpell for ASP.NET is discontinued since 2008 and it is strongly recommended to migrate to the new version of the control, where the problem is fixed. You can find migration instructions in the following help article: Migrating from RadSpell ASP.NET to ASP.NET AJAX.

Best regards,
Rumen
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
SpellChecker
Asked by
Yogesh
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Yogesh
Top achievements
Rank 1
Share this question
or