ReplaceText in RadFlowDocumentEditor

2 posts, 0 answers
  1. Lokesh
    Lokesh avatar
    1 posts
    Member since:
    Aug 2016

    Posted 12 Sep Link to this post

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

  2. Tanya
    Admin
    Tanya avatar
    405 posts

    Posted 14 Sep Link to this post

    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

Back to Top