This is a migrated thread and some comments may be shown as answers.

Avoiding CSS file downloads (enabled=false)

2 Answers 48 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Mark Davis
Top achievements
Rank 1
Mark Davis asked on 22 Jul 2008, 09:56 PM
When all our instances of RadEditor have their "enabled" property set to false, we would like to avoid bringing down the Vista skin and default CSS files (via WebResource.axd), since these are not required, are not compressed/crunched and have an impact on our PLT1 times.

Currently, the RadEditor does this with script files - they are only downloaded if there is an enabled editor on the page - how can we also get this behavior for the CSS files?

2 Answers, 1 is accepted

Sort by
0
Mark Davis
Top achievements
Rank 1
answered on 22 Jul 2008, 10:25 PM
FYI, these are the two links that appear on the page:

<link href="/WebResource.axd?d=jHyxhJFY7bTQXoQzRhj_D8a8KlLFUq7BV9lowfUXwnzAPuy3Oq-9-rsFCn7_cpTedWUsj7d1XNqQcNB4nR71pw2&amp;t=633438057600000000" type="text/css" rel="stylesheet" title="Telerik stylesheet" />
<link href="/WebResource.axd?d=jHyxhJFY7bTQXoQzRhj_D8a8KlLFUq7BV9lowfUXwnxKKOC3hq2AlG6_vz-CDHi90&amp;t=633438057600000000" type="text/css" rel="stylesheet" title="Telerik stylesheet" />
0
Tervel
Telerik team
answered on 23 Jul 2008, 01:02 PM
Hi Mark,

The just released Q2 2008 (its release is today) features this functionality - when RadEditor's Enabled = false, no CSS is rendered and sent to the client. If you start using the Q2, you will get the desired results right away.

Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Mark Davis
Top achievements
Rank 1
Answers by
Mark Davis
Top achievements
Rank 1
Tervel
Telerik team
Share this question
or