Customizing the Find and Replace dialog

15 posts, 0 answers
  1. Sambasiva
    Sambasiva avatar
    45 posts
    Member since:
    May 2008

    Posted 13 Jun 2008 Link to this post

    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.
  2. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 13 Jun 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 05 Sep 2011 Link to this post

    data




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

    Posted 06 Sep 2011 Link to this post

    removed
  6. Nancy
    Nancy avatar
    29 posts
    Member since:
    Aug 2011

    Posted 06 Sep 2011 Link to this post

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

    Posted 07 Sep 2011 Link to this post

    losed
  8. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 07 Sep 2011 Link to this post

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

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

    Posted 08 Sep 2011 Link to this post

    ok
  10. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 08 Sep 2011 Link to this post

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

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

    Posted 12 Sep 2011 Link to this post

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

    Posted 12 Sep 2011 Link to this post

    say
  13. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 13 Sep 2011 Link to this post

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

    Posted 19 Sep 2011 Link to this post

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

    Posted 19 Sep 2011 Link to this post

    u
  16. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 20 Sep 2011 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017