Home Search Member List Faq Register Login  
UltimateEditor
Re: Unable to add outside border on disabled KaramaSoft.ultimateEditor

Thread Starter: akspatel   Started: 04-02-2015 12:04 PM   Replies: 2
 Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Unable to add outside border on disabled KaramaSoft.ultimateEditor
 Printable Version    « Previous Thread   Next Thread »
  02 Apr 2015, 12:04 PM
akspatel is not online. Last active: 10/1/2015 8:54:49 AM akspatel



Top 10 Posts
Joined on 10-21-2013
Posts 18
Unable to add outside border on disabled KaramaSoft.ultimateEditor
I am using .net Visual Studio 2010.

I removed toolbox and disabled UltimateEditor control. The border displayed 3-4 pixel inside the content box instead of outside edge around the UltimateEditor control. Please help to remove border from inside and help to display as outside border of the control. Thank you for help.

aspx code:

<kswc:UltimateEditor ID="ksIssueDescription" runat="server" SetFocus="false"
AutoCleanWordFormatOnPaste="true"
EditorSource="../../UltimateEditorInclude/UltimateEditorBasic.xml"
HtmlTabVisible="false" DesignTabVisible="false" PreviewTabVisible="false"
Resizable="false" TextBoxWidth="796px" TextBoxHeight="100px"
UseIEColorDialog="true" AutoCleanWordFormatOnLoad="true"
XHTML="true"
ReadOnly="True"
TextBoxCssFiles="../../Styles/karmasoft.css"
ContainerCssClass="../../Styles/karmasoft.css"
></kswc:UltimateEditor>

aspx.vb code to disable.

Private Sub EnableKS(ByRef objEditor As Karamasoft.WebControls.UltimateEditor.UltimateEditor, ByVal IsEnable As Boolean)
If (IsEnable = True) Then
objEditor.TextBoxCssFiles = "../../Styles/karmasoftFont.css" ' White background
objEditor.ReadOnly = False
objEditor.Enabled = True
Else ' Disable
objEditor.ReadOnly = True
objEditor.Enabled = False
objEditor.ToolbarsVisible = False
objEditor.EditorSource = "../../UltimateEditorInclude/UltimateEditorNoSpell.xml"
objEditor.TextBoxCssClass = "../../Styles/karmasoft.css" ' Set blue background in aspx file to work
objEditor.BorderColor = DataAccess.CommonStatic.GetColorFromHtmlColor("#D9D9D9")
End If

End Sub


karmasoftFont.css file.

body
{
background-color:#EBF9FA;
border-top-styleTongue Tiedolid;
border-bottom-styleTongue Tiedolid;
border-left-styleTongue Tiedolid;
border-right-styleTongue Tiedolid;
border-width: 1px;
border-color: #D9D9D9;
}
.Text1
{
font-family:Calibri, Arial, Times New Roman;
}



  
  02 Apr 2015, 12:10 PM
akspatel is not online. Last active: 10/1/2015 8:54:49 AM akspatel



Top 10 Posts
Joined on 10-21-2013
Posts 18
Re: Unable to add outside border on disabled KaramaSoft.ultimateEditor
I am unable to attached the image of from the web page even it says I could send attachment. Help..
  
  02 Apr 2015, 12:16 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Unable to add outside border on disabled KaramaSoft.ultimateEditor
If you email us a self-contained web app having the issue, we can try it in our test environment.
  
 Page 1 of 1 (3 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » Re: Unable to add outside border on disabled KaramaSoft.ultimateEditor

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.