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

Customizing the Find and Replace dialog

14 Answers 180 Views
Spell
This is a migrated thread and some comments may be shown as answers.
Sambasiva
Top achievements
Rank 1
Sambasiva asked on 13 Jun 2008, 09:15 AM
Hi,

Is there any way to customize the Find and Replace dialog box?
I want to add one more button to the dialog and hide the replace tab.

Please suggest me.

14 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 13 Jun 2008, 01:03 PM
Hello Sambasiva,

To hide the Replace tab in the Find and Replace dialog you need to copy the EditorDialogs directory from the RadControls installation to the root of your web application and set the editor's ExternalDialogsPath property to point to it "~/EditorDialogs", e.g.

<telerik:RadEditor ID="RadEditor1" runat="server" ExternalDialogsPath="~/EditorDialogs"></telerik:RadEditor>

After that open the \EditorDialogs\FindAndReplace.ascx file and put the following line

        this._tab._tabs[1].style.display = "none";


under the this._tab = $find("dialogtabstrip"); line. This will hide the Replace dialog.

You can also try to implement your other scenario in the FindAndReplace.ascx file.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Nancy
Top achievements
Rank 1
answered on 05 Sep 2011, 07:34 PM
data




0
Nancy
Top achievements
Rank 1
answered on 06 Sep 2011, 07:44 AM
removed
0
Nancy
Top achievements
Rank 1
answered on 06 Sep 2011, 08:00 AM
to
0
Nancy
Top achievements
Rank 1
answered on 07 Sep 2011, 06:14 AM
losed
0
Rumen
Telerik team
answered on 07 Sep 2011, 04:40 PM
Hi Bhaskar,

Could you please specify the exact version of RadEditor used in your project?
Do you use RadEditor Classic(RadEditor.Net2.dll) or RadEditor for ASP.NET AJAX (Telerik.Web.UI.dll)?

Kind regards,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Nancy
Top achievements
Rank 1
answered on 08 Sep 2011, 06:52 AM
ok
0
Rumen
Telerik team
answered on 08 Sep 2011, 03:31 PM
Hi Bhaskar,

By design, the RadEeditor's dialogs could not be loaded on the same page where the RadEditor control resides.

Best wishes,
Rumen
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Nancy
Top achievements
Rank 1
answered on 12 Sep 2011, 07:28 PM
s
0
Nancy
Top achievements
Rank 1
answered on 12 Sep 2011, 07:41 PM
say
0
Rumen
Telerik team
answered on 13 Sep 2011, 04:15 PM
Hi Bhaskar,

Telerik does not offer support for customizations of the built-in dialogs of RadEditor. We can only guide you but it is up to the developer to implement the requirements of his/her project.

If you want to help you, please open a support ticket and send a simple working project that demonstrates what you have done and what you want to achieve? Please, include all project files, because I need a runnable project that I can test and modify.

You can attach zipped projects only in the support ticketing system but not in the forums.

It is also important to know that the built-in dialog files are changed and enhanced and if you use an older version of the RadEditor you will be unable to use the latest version of the Find And Replace dialog that I attached in my earlier reply.

Best regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Nancy
Top achievements
Rank 1
answered on 19 Sep 2011, 05:51 AM
do
0
Nancy
Top achievements
Rank 1
answered on 19 Sep 2011, 06:18 PM
u
0
Rumen
Telerik team
answered on 20 Sep 2011, 07:48 AM
Hello Bhaskar,

The files contents and image attachments were deleted as requested by you.

If you want to execute server code in the external dialogs of RadEditor see how this is done in this KB article:
Displaying single upload control in the FileBrowser Upload manager. You need to add a usercontrol to the ascx file and you will be able to execute server code in the usercontrol.

Greetings,
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
Spell
Asked by
Sambasiva
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Nancy
Top achievements
Rank 1
Share this question
or