Image gets displayed in Spellchecker

5 posts, 0 answers
  1. Yogesh
    Yogesh avatar
    3 posts
    Member since:
    Oct 2011

    Posted 17 Oct 2011 Link to this post

    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,






     

  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 19 Oct 2011 Link to this post

    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 >>

  3. DevCraft banner
  4. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 20 Oct 2011 Link to this post

    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 >>

  5. Yogesh
    Yogesh avatar
    3 posts
    Member since:
    Oct 2011

    Posted 31 Oct 2011 Link to this post

    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.
  6. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 31 Oct 2011 Link to this post

    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 >>

Back to Top
DevCraft banner