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

Text Areas in a Grid.

3 Answers 38 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Anu Raj
Top achievements
Rank 1
Anu Raj asked on 19 Aug 2008, 02:00 PM
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

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Aug 2008, 03:35 PM
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.
0
Anu Raj
Top achievements
Rank 1
answered on 19 Aug 2008, 06:03 PM

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
 

0
Rumen
Telerik team
answered on 22 Aug 2008, 02:09 PM
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.
Tags
Spell
Asked by
Anu Raj
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Anu Raj
Top achievements
Rank 1
Share this question
or