Text Areas in a Grid.

4 posts, 0 answers
  1. Anu Raj
    Anu Raj avatar
    2 posts
    Member since:
    Sep 2012

    Posted 19 Aug 2008 Link to this post

    Hi

    I have a grid control .it creates the grid is in this pattern
    Question1:
            Answer1.(Text Area ID="txtAnswer")
            Anwer2.(Text Area  ID="txtAnswer")
     Question 2:
                Answer 1:(Text area ID="txtAnswer")
        Question 3:
            No answer:

    It creates dynamically .
    How I can attach the the spell control for all the Answers ?

    Thanks,
    AR
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 19 Aug 2008 Link to this post

    Hi Anu,

    Please, review the following live example on the subject: Spellchecking Datagrid Controls.

    Best regards,
    Rumen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Anu Raj
    Anu Raj avatar
    2 posts
    Member since:
    Sep 2012

    Posted 19 Aug 2008 Link to this post

    Hi Rumen,

    I don’t need a spell check option on each and every row.
     I need a single button to perform spell check on all the textboxes,
    Which are created dynamically in the DataGrid?

    I tried in RowDatabound event in a grid by using this property

    TextBox txtLong = (TextBox)row.FindControl("txtAnswer");
     strCheck = strCheck + txtLong.ClientID + “,”;

    After all the Questions are answered ,I set this property
     spellChecker.ControlToCheck = strCheck;
    It is not working.

    Any other ideas.
    I appreciate your help.

    Thanks
    AR
     

  5. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 22 Aug 2008 Link to this post

    Hello Anu Raj,

    You can add your own custom spellcheck button which will execute on click a client side function that will define a custom text source to provide text for spellchecking. Using a custom text source allows you to spell check virtually anything on the web page that you can access programmatically.

    You can find more information in the following help article: Custom Text Source.

    Greetings,
    Rumen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top