in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Spell Check for ASP.Net application

Last post 04-20-2007 12:39 AM by C1_SergeiS. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-18-2007 8:54 AM

    Spell Check for ASP.Net application

    Hi,

    when I used this code

    c1Spell1.BadWordDialog = C1.Win.C1Spell.BadWordDialogEnum.NoDialog;

    c1Spell1.CheckControl(textBox1);

    its throwing error: "Cannot convert from System.Web.UI.WebControls.TextBox to System.Windows.Forms.Controls.

    I think the following code can be used for windows application.Please send me the code for Web Application

  • 04-20-2007 12:39 AM In reply to

    Re: Spell Check for ASP.Net application

    Hi,
     
    you can't use C1Spell to check the content of Web controls, however you're still able to use C1Spell.CheckString method to check string values.
     
    Regards,
    Sergey.
    <avinashgj> wrote in message news:193671@test.componentone.com...

    Hi,

    when I used this code

    c1Spell1.BadWordDialog = C1.Win.C1Spell.BadWordDialogEnum.NoDialog;

    c1Spell1.CheckControl(textBox1);

    its throwing error: "Cannot convert from System.Web.UI.WebControls.TextBox to System.Windows.Forms.Controls.

    I think the following code can be used for windows application.Please send me the code for Web Application



    http://home.componentone.com/cs/forums/193671/ShowPost.aspx

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.