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

FindAndReplace...not finding OR replacing

4 Answers 82 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 26 Aug 2009, 04:38 PM
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:

            <telerik:RadEditor  
                ID="tbNote"  
                runat="server" 
                Width="502px"  
                TextMode="MultiLine"  
                Wrap="True"                  
                EditModes="Design"  
                Height="250px"  
                Style="overflow:auto;border: 1px solid navy;" Font-Size="Medium" > 
                <Tools> 
                    <telerik:EditorToolGroup Tag="BasicFunctions"
                        <telerik:EditorTool Name="Cut" /> 
                        <telerik:EditorTool Name="Copy" /> 
                        <telerik:EditorTool Name="Paste" /> 
                        <telerik:EditorSeparator /> 
                        <telerik:EditorTool Name="Bold" /> 
                        <telerik:EditorTool Name="Italic" /> 
                        <telerik:EditorTool Name="Underline" /> 
                        <telerik:EditorTool Name="StrikeThrough" /> 
                        <telerik:EditorSeparator /> 
                        <telerik:EditorTool Name="FindAndReplace" /> 
                        ... 

What, if anything, am I missing?

4 Answers, 1 is accepted

Sort by
0
Matt
Top achievements
Rank 1
answered on 27 Aug 2009, 05:41 PM
anything?
0
Lini
Telerik team
answered on 28 Aug 2009, 06:06 AM
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.

Greetings,
Lini
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.
0
Robert
Top achievements
Rank 1
answered on 22 Sep 2011, 04:50 PM
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
0
Rumen
Telerik team
answered on 23 Sep 2011, 08:57 AM
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,
Rumen
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
Tags
Editor
Asked by
Matt
Top achievements
Rank 1
Answers by
Matt
Top achievements
Rank 1
Lini
Telerik team
Robert
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or