1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / generic content editor insert table not working

generic content editor insert table not working

12 posts, 0 answered
  1. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    23 May 2009
    Link to this post
    Hello,

    I've added the "insert table" button to the content editor and it was working fine. But recently i've migrated the web site to another server, and the insert table button stopped working. I've read in some forums that this can be due to an issue with Turkish regional settings, but even when I change the regional settings to English, the button doesn't work.

    Could you help me with this please?

    Thank you in advance.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    25 May 2009
    Link to this post
    Hello Kutay,

    Thank you for using our services.

    Are you getting any errors when you click on the button? Could you give us more information about this issue?

    I look forward to hearing from you.

    Kind regards,
    Ivan Dimitrov
    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. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    25 May 2009
    Link to this post
    Hi,

    I get no errors (no javascript errors, no ASP.NET errors) when I press the insert table button. I press the button and nothing happens. In fact, the arrow next to the button that shows the insert table dialog does not appear at all. I can send you a screenshot if you want.

    Is there anything else you'd like to know?

    Regards,
    Kutay Taskin
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    25 May 2009
    Link to this post
    Hi Kutay,

    Please send us the screenshot and the code snippet of the settings you have added to enable adding of tables in the RadEditor control. Then I will try to reproduce the problem with your settings.

    Regards,
    Ivan Dimitrov
    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.
  5. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    25 May 2009
    Link to this post
    Here's the code from EditorToolsFile.xml:

    &lt;tools name="InsertToolbar" dockable="false"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="insertTable"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="LibraryImageManager" text="Insert an image"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="LibraryDocumentManager" text="Insert a document"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="LinkManager" text="Insert a link" shortcut="CTRL+K"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="Unlink" shortcut="CTRL+SHIFT+K"/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="FlashManager" /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;tool name="MediaManager" /&gt;<br>&nbsp; &lt;/tools&gt; 

    I can't paste the screenshot here. What should do?

    Regards.
  6. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    25 May 2009
    Link to this post
    Sorry about the code: It was formatted wrongly...

      <tools name="InsertToolbar" dockable="false">
        <tool name="insertTable"/>
        <tool name="LibraryImageManager" text="Insert an image"/>
        <tool name="LibraryDocumentManager" text="Insert a document"/>
        <tool name="LinkManager" text="Insert a link" shortcut="CTRL+K"/>
        <tool name="Unlink" shortcut="CTRL+SHIFT+K"/>
        <tool name="FlashManager" />
        <tool name="MediaManager" />
      </tools>
  7. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    26 May 2009
    Link to this post
    Find anything?
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 May 2009
    Link to this post
    Hello Kutay,

    Your settings seems to be correct. We figured it out.
    The problem is due to the global culture setting of your project that is set in the web.config file. When the globalization culture is different from "en-US"  the insert table dropdown will work. But if you set it to "tr-TR" Turkish culture then the dropdown button will not work.

    This problem is logged in our bug tracking system for fixing, but our recommendation is to temporary change the globalization culture to en-US until we fix the problem.


    Regards,
    Ivan Dimitrov
    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.
  9. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    26 May 2009
    Link to this post
    Hello,

    Where are those settings exactly? I've done a search in web.config for "globalization", "tr-TR" and "en-US", none of which returned any results.

    Or is this something that I need to add to web.config?

    Thank you. 
  10. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 May 2009
    Link to this post
    Hello Kutay,

    Please take a look at your web.config file <localization> node. Here are several articles that describes how to set globalizationElement in web.config file.
    globalization Element (ASP.NET Settings Schema)
    Globalization using ASP.NET

    All the best,
    Ivan Dimitrov
    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.
  11. Kutay
    Kutay avatar
    18 posts
    Registered:
    21 Apr 2009
    26 May 2009
    Link to this post
    Yes, that did it.

    Added <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US"/> under <system.web> and the insert table button started working again.

    Thank you for your help.
  12. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    26 May 2009
    Link to this post
    Hello Kutay,

    I am glad to hear that everything works fine now.

    Greetings,
    Ivan Dimitrov
    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.
Register for webinar
12 posts, 0 answered