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

ReplaceText in RadFlowDocumentEditor

1 Answer 164 Views
WordsProcessing
This is a migrated thread and some comments may be shown as answers.
Lokesh
Top achievements
Rank 1
Lokesh asked on 12 Sep 2016, 10:32 AM

Hi,

My name is Lokesh G, I got struck while using this Replace Method in RadFlowDocumentEditor. It's showing some error at ReplaceText().

Can you help me to over come this... 

Error Message: Onhover on ReplaceText seeing the below message

RadFlowDocumentEditor doesn't contain a definition for ReplaceText and no extension method 'ReplaceText' accepting  a first argument of type RadFlowDocumentEditor could not be found

How I used and Declared it:
RadFlowDocumentEditor editor = new RadFlowDocumentEditor(document);


editor.ReplaceText(FindWhatTextBox.Text, ReplaceWithTextBox.Text, MatchCaseCheckBox.Checked, MatchWholeWordCheckBox.Checked);

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 14 Sep 2016, 11:09 AM
Hi Lokesh,

The API for Find and Replace was introduced with our Q2 2015 release. Could you verify that you are using this or a later version of the library?

I checked the code that you provided and couldn't find anything suspicious in it. That is why my suggestion is that the referred assemblies are of a version that doesn't contain the method.

Regards,
Tanya
Telerik by Progress

Tags
WordsProcessing
Asked by
Lokesh
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or