using multiple editors and toolbar PageTop position

4 posts, 0 answers
  1. Stephan
    Stephan avatar
    71 posts
    Member since:
    Jul 2007

    Posted 20 Aug 2009 Link to this post

    Hi, in the documantion I read I can use multiple RadEditors on my page. I want to show only one toolbar at the time and it should show at the top op the editors.Not of the page.There is an option PageTop, this option shows the toolbar at the top of the page. The problem is, I designed my page using a masterpage and the RadSplitters. So I have a PageTop secion, content section and PageFooter.

    Is it possible to configure the editor to show only on toolbar, but this toolbar should show at the top of the content section, not of the page, because then it wil overwrite the menu of my page.


  2. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 25 Aug 2009 Link to this post

    Hi Stephan,

    With each Telerik.Web.UI update we improve and extend the RadEditor API to cover ever more scenarios.
    So, while the functionality is not built in yet, we have extended the RadEditor API prepared a small code sample that pretty much does what you need, with the added benefit that since it is not a part of the editor code, you can tweak it further and customize it to fit your needs.

    I am attaching the sample, which demonstrates how to display the toolbar of the selected editor in a DIV that you can place on the desired page position. Please give it a try and let us know if there is any problem or you need extra help for your scenario.

    All the best,
    Rumen
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael
    Michael avatar
    18 posts
    Member since:
    Jun 2009

    Posted 01 Mar 2010 Link to this post

    Hi Rumen,

    I found this thread as I have a similiar requirement.

    http://www.telerik.com/community/forums/aspnet-ajax/editor/using-multiple-editors-and-toolbar-pagetop-position.aspx

    I used the example you provided from that thread and tried to use the same toolbar from an xml file for each editor.

    The problem I have is when I click into each editor, it doesnt seem to show the toolbar correctly. Sometimes it ends up having more then one toolbar in the div I have specified or the toolbar is not positioned correctly.

    Also, I am trying to make the editor appear as a textbox. I had that working correctly before, but can't seem to get it to work using your example.

    What I am wanting is to have multiple editors on the page pointing to one toolbar which is positioned inside a div on the page and each editor will look like a normal textbox. Also is it possible to have an html module positioned inside a div, instead of being directly under each editor?

    Mike

  5. Rumen
    Admin
    Rumen avatar
    12848 posts

    Posted 03 Mar 2010 Link to this post

    Hi Michael,

    Please, find attached the modified aspx file. I noticed that you have not set the OnClientLoad property in the RadEditor declaration and set it.

    You should also not use a ToolsFile, but declare the RadEditor tools inline. This will fix the duplicating toolbar problem.

    RadEditor does not offer the ability to position its modules inside a div placed somewhere on the page. If you would like you can hide the modules.


    Kind regards,
    Rumen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top