FindAndReplace window problem

16 posts, 0 answers
  1. QualiWareUA
    QualiWareUA avatar
    60 posts
    Member since:
    Sep 2008

    Posted 24 Jul 2008 Link to this post

    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?
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 24 Jul 2008 Link to this post

    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.
  3. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 31 Aug 2011 Link to this post

    t


  4. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 02 Sep 2011 Link to this post

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

  5. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 05 Sep 2011 Link to this post

    s
  6. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 05 Sep 2011 Link to this post

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

  7. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 06 Sep 2011 Link to this post

    yes i
  8. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 07 Sep 2011 Link to this post

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

  9. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 08 Sep 2011 Link to this post

    no
  10. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 08 Sep 2011 Link to this post

    Thanks
  11. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 08 Sep 2011 Link to this post

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

  12. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 12 Sep 2011 Link to this post

    ok done
  13. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 13 Sep 2011 Link to this post

    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.
  14. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 19 Sep 2011 Link to this post

    see
  15. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 19 Sep 2011 Link to this post

    Hi
  16. Rumen
    Admin
    Rumen avatar
    14031 posts

    Posted 20 Sep 2011 Link to this post

    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
Back to Top