ResizeMode="AutoAdjust" not working

Last post 11-04-2009, 2:50 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  11-03-2009, 1:59 AM 56858

    ResizeMode="AutoAdjust" not working

    Hi,
     
    I have declared my editor control as below.
     
    <CE:Editor ID="editor" BreakElement="Br" ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/htmlButton.config"runat="server" EnableClientScript="true" EnableStripScriptTags="false" EnableStripLinkTagsCodeInjection="false" ShowEditMode="false" ShowHtmlMode="false" ShowPreviewMode="false" ShowTagSelector="true" EnableStripStyleTagsCodeInjection="false" EditCompleteDocument="true" Width="100%" Height="450px" ResizeMode="AutoAdjust"></CE:Editor
     
    I have set ResizeMode to AutoAdjust which is working fine in developement eniviornment, but when I uploaded my code to production server the Cute Editor is not resizing itself when a page is loaded for first time.
     
    As soon as I start editing contnet, it will start working fine. The problem seems to be for the first time load only.
     
    Thanks,
    Lalit
  •  11-03-2009, 10:20 AM 56867 in reply to 56858

    Re: ResizeMode="AutoAdjust" not working

    lalit,
     
    Can you try the following code in your production server?
     
    1. <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>  
    2. <%@ Page language="c#"%>  
    3. <html>  
    4.     <head>  
    5.     </head>  
    6.     <body>  
    7.         <form id="Form1" method="post" runat="server">  
    8.             <CE:EDITOR id="Editor1"  ResizeMode="AutoAdjust" runat="server"></CE:EDITOR>  
    9.         </form>  
    10.     </body>  
    11. </html>  

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  11-03-2009, 11:59 PM 56898 in reply to 56867

    Re: ResizeMode="AutoAdjust" not working

    Adam,
     
    Basically, I need fixed height and auto resize mode. So, even If I dont have any content it can not shrink less than the height specified. In my case, it is shrinking even if I have large content.
     
     
    Thanks,
    Lalit
  •  11-04-2009, 2:50 AM 56902 in reply to 56898

    Re: ResizeMode="AutoAdjust" not working

    Hi lakumlalit,
     
    What version of editor you use?
     
    Can you create an example can reproduce this issue and send it to me (Including the document your load in editor)?
     
     
    Regards,
     
    Ken
View as RSS news feed in XML