Opened 10 years ago

Last modified 8 years ago

#11994 review Bug

ASP.NET control ContentsCss doesn't correctly support Web application root operator (~)

Reported by: Andrew Koransky Owned by: Alan
Priority: Normal Milestone:
Component: Server : ASP.Net Version: 3.6.6
Keywords: Cc: Andrew Koransky

Description

The ASP.NET control doesn't support the web application root (~) correctly in ContentsCss. For example, setting the property to "~/CSS/web.css,~/CSS/other.css" just doesn't work. In addition, documentation isn't terribly clear that this is a comma (or CR or LF) separated field. I also thought maybe a pipe "|" would work for a separator. (I had to download and examine code.)

I've attached a patch that resolves all the above issues. It's just a code snippet you can use to replace the property declaration.

Attachments (1)

CKEditorControl-ContentsCssProperty.cs (1.2 KB) - added by Andrew Koransky 10 years ago.
replacement code for CKEditor.NET.CKEditorControl.ContentsCss property

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Andrew Koransky

replacement code for CKEditor.NET.CKEditorControl.ContentsCss property

comment:1 Changed 10 years ago by Alan

Owner: set to Alan
Status: newreview

comment:2 Changed 8 years ago by AndrewKoransky

Version: 3.6.43.6.6

This problem still exists in the latest ASP.NET 3.6.6.2 code. I would be glad to submit a push request if this code were in GitHub.

comment:3 Changed 8 years ago by AndrewKoransky

Cc: Andrew Koransky added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy