2

I am using Telerik's RadEditor control on a page. It is the only Telerik control in use, but the telerik.web.ui.webresource.axd that is downloaded includes the radwindow javascipt code. I understand RadEditor uses this for some dialogs but my page does not and would like to improve performance by removing this script from telerik.web.ui.webresource.axd.

Is it possible to customize it at all?

0

1 Answer 1

2

You can disable the RadEditor control from using embedded web resources by setting UseEmbeddedScripts = false. If you set UseEmbeddedScripts to false, files from the RadControls folder will be used.

For a more detailed explanation see Disabling embedded resources.

Sign up to request clarification or add additional context in comments.

4 Comments

It seems to have reduced the size of the telerik.web.ui.webresource.axd JS that gets downloaded but it's still there... hmm
Is the RadWindowScripts.js still showing up? If so, is it using the one in the default direcotry Path="~/Scripts/Window/RadWindowScripts.js"? If so, you could edit out the part you don't want if you are ok with the results of that.
Yea that is one (of them). Good idea. Have you done that before?
I've done something similar with a .css file, but not with a .js file. (In stackoverflow.com/questions/8988592 I have an answer dealing with a .css file.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.