Re: HTML and Preview modes shrink

  •  02-22-2006, 5:12 PM

    Re: HTML and Preview modes shrink

    If you change UseDNNDefaultWidth="true" setting to false, CE will use the default width which is 762.
     
    Please open the CEHtmlEditorProvider.vb and change the following code:
     
         Public Overrides Property Width() As System.Web.UI.WebControls.Unit
                Get
                    Width = cntlCE.Width
                End Get
                Set(ByVal Value As System.Web.UI.WebControls.Unit)
                    If _UseDNNDefaultWidth = True Then
                        cntlCE.Width = Value
                    End If
                End Set
            End Property


     
         Public Overrides Property Width() As System.Web.UI.WebControls.Unit
                Get
                    Width = cntlCE.Width
                End Get
                Set(ByVal Value As System.Web.UI.WebControls.Unit)
                    If _UseDNNDefaultWidth = True Then
                        cntlCE.Width = Value
                    Else
                        cntlCE.Width = 500

                    End If
                End Set
            End Property

    Then recompile the provider project.

    Hope it helps.
     
    Let me know if you have any further questions.
     

     

    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

View Complete Thread