FindAndReplace...not finding OR replacing

5 posts, 0 answers
  1. Matt
    Matt avatar
    87 posts
    Member since:
    Mar 2009

    Posted 26 Aug 2009 Link to this post

    I have a radEditor on a page with the FindAndReplace toolbar button defined.  On the client, when I click the button, the dialog opens up as expected and I'm able to enter the text into the Find textbox.  Nothing happens after I click find (no text is highlighted), even though the word I'm looking for is there (multiple times).

    On the replace tab, I'm able to find the first instance of the target word (it's highlighted in the editor), but only the the Replace All button works.  The replace button does nothing.  (After the replace button is executed, a message box is displayed saying "FindAndReplace_AllReplaced".

    Only after I get this message will I get messages when I click Find (either tab) or Replace indicating FindAndReplace_NotFound.  (This message isn't displayed until I click the Replace All button.

    I'm using Q2 2009 tools against VS2008 (c#).  This is occuring in IE7.  We don't test against other browsers.

    The radEditor/toolbar declaration is as follows:

    1             <telerik:RadEditor  
    2                 ID="tbNote"  
    3                 runat="server" 
    4                 Width="502px"  
    5                 TextMode="MultiLine"  
    6                 Wrap="True"                  
    7                 EditModes="Design"  
    8                 Height="250px"  
    9                 Style="overflow:auto;border: 1px solid navy;" Font-Size="Medium" > 
    10                 <Tools> 
    11                     <telerik:EditorToolGroup Tag="BasicFunctions"
    12                         <telerik:EditorTool Name="Cut" /> 
    13                         <telerik:EditorTool Name="Copy" /> 
    14                         <telerik:EditorTool Name="Paste" /> 
    15                         <telerik:EditorSeparator /> 
    16                         <telerik:EditorTool Name="Bold" /> 
    17                         <telerik:EditorTool Name="Italic" /> 
    18                         <telerik:EditorTool Name="Underline" /> 
    19                         <telerik:EditorTool Name="StrikeThrough" /> 
    20                         <telerik:EditorSeparator /> 
    21                         <telerik:EditorTool Name="FindAndReplace" /> 
    22                         ... 

    What, if anything, am I missing?
  2. Matt
    Matt avatar
    87 posts
    Member since:
    Mar 2009

    Posted 27 Aug 2009 Link to this post

  3. Lini
    Lini avatar
    2144 posts

    Posted 28 Aug 2009 Link to this post

    Hello Matt,

    Please update to the Q2 2009 SP1 release. This is a known issue with IE and the official Q2 2009 release and it is fixed in the service pack. I apologize for the inconvenience.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  4. Robert
    Robert avatar
    9 posts
    Member since:
    Mar 2008

    Posted 22 Sep 2011 Link to this post

    I was wondering the status on this issue.  We are using 2011 q2 and the use of find and replace and clicking replace ends up with an alert displaying: FindAndReplace_AllReplaced
  5. Rumen
    Rumen avatar
    14028 posts

    Posted 23 Sep 2011 Link to this post

    Hi Robert,

    This is a localization problem.

    Please, open the \App_GlobalResources\RadEditor.Dialogs.resx file and make sure that the FindAndReplace_AllReplaced localization string exists and have the following localization text: {0} occurrences in the text have been replaced!

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top