title: Ajax HtmlEditor control has elements with  style='' on local and style='display:none' on host
body: <p>I have strange problem with HtmlEditor ajax control.<br>
  I'm using .NET 4.0<br>
  Everything worked fine while I was testing my ASP.NET application on local computer, but when I published it on host, it does not work. Page is <strong>not</strong> breaking, but HtmlEditor is not displayed correctly. Instead of normaly displayed control, only 3 squers are displayed.<br>
  If I look the generated HTML code on local computer, elements of HtmlEditor have <strong>style=""</strong>, and HTML code generated on host has elements with <strong>style="display:none;"</strong>. I tried to set HtmlEditor's Visable and Enabled properties to value <strong>true</strong> but it didn't help.<br>
  Correct AjaxControlToolkit.dll is uploaded.<br>
  Anyone has a clue why this is happening?</p>
  
  <p>My code looks like this:<br>
      <pre><code> &lt;%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Black.Master" AutoEventWireup="true"
      CodeBehind="XXXXXX.aspx.cs" Inherits="XXXXXXX.Web.Admin.AdminArticle" %></p>
  
  &lt;%@ MasterType VirtualPath="~/MasterPages/Black.Master" %&gt;
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %&gt;
  &lt;%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
  TagPrefix="asp" %&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="cphMainContent" runat="server"&gt;
  
      &lt;table class="entryTable"&gt;        
          &lt;tr&gt;
              &lt;td&gt;
                  &lt;asp:Label ID="litTitle" Text="Naslov" runat="server"&gt;&lt;/asp:Label&gt;:
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;asp:TextBox ID="txtTitle" runat="server" MaxLength="128"     CssClass="textEntry"&gt; &lt;/asp:TextBox&gt;
                  &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ValidationGroup="New"
                  ControlToValidate="txtTitle" ErrorMessage="XXXXXXXXXXX." Text="*" Display="Dynamic"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;asp:RegularExpressionValidator ID="RegularExpressionValidator1" ControlToValidate="txtTitle"
                  runat="server" ValidationExpression="^[\s\S]{0,128}$" ErrorMessage="XXXXXXXXXX."
                  Text="*" Display="Dynamic" ValidationGroup="New" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;        
  
          &lt;tr&gt;
              &lt;td&gt;
                  &lt;asp:Label ID="litMainText" Text="Main Text" runat="server"&gt;&lt;/asp:Label&gt;:
              &lt;/td&gt;
              &lt;td&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="2"&gt;
                  &lt;asp:Editor runat="server" ID="edtMainText" Height="300px" Width="495px"&gt;&lt;/asp:Editor&gt;
                  &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ValidationGroup="New"
                  ControlToValidate="edtMainText" ErrorMessage="XXXXXX." Text="*"
                  Display="Dynamic"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;asp:RegularExpressionValidator ID="RegularExpressionValidator3" ControlToValidate="edtMainText"
                  runat="server" ValidationExpression="^[\s\S]{0,30000}$" ErrorMessage="XXXXXXXXXX."
                  Text="*" Display="Dynamic" ValidationGroup="New" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;        
          &lt;tr&gt;
              &lt;td&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;br /&gt;
                  &lt;asp:Button ID="btnCreate" ValidationGroup="New" runat="server" Text="Create" OnClick="btnCreate_OnClick" /&gt;
                  &lt;asp:Button ID="btnClear" runat="server" Text="Clear" OnClick="btnClear_OnClick" /&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
      &lt;asp:ValidationSummary ID="ValidationSummary" runat="server" CssClass="failureNotification"
      ValidationGroup="New" /&gt;    
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>I hope I gave enough info.<br>
  Thank you for help.</p>