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

FindAndReplace window problem

15 Answers 111 Views
Editor
This is a migrated thread and some comments may be shown as answers.
QualiWareUA
Top achievements
Rank 1
QualiWareUA asked on 24 Jul 2008, 07:54 AM
Hi, guys.
I have the following problem:
when FindAndReplace window is dragged (actually, enought mousedown action) text inside RadEditor and FindAndReplace window disappears untill drag ends (mouseup action).

The same behavior I can see on the online sample: RadEditor default

Is it a normal behavior and what explanation in this case? Or what could I do to get rid of this behavior?

15 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 24 Jul 2008, 03:05 PM
Hi Alex,

The described behavior is by design and it is required in order to have the controls work correctly.

Both the RadEditor's content area and the window dialog are IFRAME elements, which are different documents. Each of them catches the mouse events independently of the main page. They have to be hidden when you move or resize the window dialog because otherwise the mouse event will be lost and you will not be able to move/resize the dialog.


Sincerely yours,
Svetlina
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 31 Aug 2011, 03:33 PM
t


0
Rumen
Telerik team
answered on 02 Sep 2011, 02:15 PM
Hi Bhaskar,

You should register the external dialogs of RadEditor as explained in the following live demo: Customize Built-in Dialogs and customize the FileBrowser.ascx file, e.g.:

1) Copy the EditorDialogs folder to the root of the application
2) Set the ExternalDialogsPath property to point to the EditorDialogs folder

<telerik:RadEditor runat="server" ID="RadEditor1" ExternalDialogsPath="~/EditorDialogs">
    <ImageManager ViewPaths="~/images" UploadPaths="~/images" />
</telerik:RadEditor>

3) Open the \EditorDialogs\FindAndReplace.ascx file and set Visible="False" to the second tab of RadTabStrip:

<telerik:RadTabStrip ShowBaseLine="true" ID="dialogtabstrip" runat="server" MultiPageID="dialogMultiPage"
    SelectedIndex="0">
    <Tabs>
        <telerik:RadTab Text="Find" Value="Find">
        </telerik:RadTab>
        <telerik:RadTab Text="Replace" Value="Replace" Visible="false">
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>

4) Save the files, refresh and test the dialog.

All the best,
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 05 Sep 2011, 09:35 AM
s
0
Rumen
Telerik team
answered on 05 Sep 2011, 01:58 PM
Hi Bhaskar,

For your convenience I have attached the FileAndReplace.ascx file which you should modify to achieve your goal.

All the best,
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 06 Sep 2011, 06:21 AM
yes i
0
Rumen
Telerik team
answered on 07 Sep 2011, 04:42 PM
Hi Bhaskar,

You should create a folder in the root of your web application named EditorDialogs and put the FindAndReplace.ascx file in it.

After set the ExternalDialogsPath property to point to the "~/EditorDialogs" folder, e.g.

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

After doing this the editor will start using the FindAnreReplace.ascx file and you can customize it.

If you still experience any problems please provide information about the exact version of Telerik.Web.UI.dll used in your project.

Best 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:16 AM
no
0
Nancy
Top achievements
Rank 1
answered on 08 Sep 2011, 06:55 AM
Thanks
0
Rumen
Telerik team
answered on 08 Sep 2011, 03:31 PM
Hello Bhaskar,

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


Greetings,
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:34 PM
ok done
0
Rumen
Telerik team
answered on 13 Sep 2011, 04:17 PM
Hello 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.

My suggestion is to also upgrade to the latest build of Telerik.Web.UI.dll which is 2011.2.712 (Q2 2011) which offers support for the latest modern browsers.

All the best,
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, 10:26 AM
see
0
Nancy
Top achievements
Rank 1
answered on 19 Sep 2011, 06:14 PM
Hi
0
Rumen
Telerik team
answered on 20 Sep 2011, 07:54 AM
Hi Bhaskar,

As requested I deleted the file contents and image attachments.

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.

All the best,
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
QualiWareUA
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Nancy
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or