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

External JS file cached

2 Answers 61 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
ChainHome Yang
Top achievements
Rank 1
ChainHome Yang asked on 25 May 2010, 03:03 AM

I wrote an external JS file and placed in RadCodeBlock.

Sometimes I changed JS code and reran, it performed old JS code.

I had to rename JS file name solving this program.

Any good idea without renaming JS file name?

It's no use deleting cached JS file or pressing Ctrl+F5 in IE8 browser.

2 Answers, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 28 May 2010, 08:29 AM
Hello,

Please confirm that after every modification in the JS code you rebuild the project before run it. Also please delete the cache of you browser and check if this make any difference.
I also could suggest you to replace the RadCodeBlock with RadScriptBlock control and test the project.

All the best,
Maria Ilieva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
ChainHome Yang
Top achievements
Rank 1
answered on 28 May 2010, 09:54 AM

Hello,

Thank you for your suggestions, it works well.



Tags
Ajax
Asked by
ChainHome Yang
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
ChainHome Yang
Top achievements
Rank 1
Share this question
or