Hi,
I have an Ajax page which has a number of Telerik controls on it.
It would appear that each Ajax response is including some inline script:
Is it possible to turn this off? Is it possible to have a function call instead? My concern is that performance is degrading and the DOM is forever getting larger.
Thanks,
Martin
I have an Ajax page which has a number of Telerik controls on it.
It would appear that each Ajax response is including some inline script:
| if (typeof($telerik) != 'undefined' && !$telerik.isSafari) |
| { |
| var links = document.body.getElementsByTagName('link'); |
| if (links && links.length>0) |
| { |
| var documentHead = document.getElementsByTagName('head')[0]; |
| if (documentHead) |
| { |
| for (var i=links.length-1;i>=0;i--) |
| { |
| var linkTag = links[i]; |
| if (linkTag.title == 'Telerik stylesheet') |
| { |
| if ($telerik.isIE) |
| { |
| linkTag = linkTag.cloneNode(true); |
| } |
| documentHead.appendChild(linkTag); |
| } |
| } |
| } |
| } |
| } |
Is it possible to turn this off? Is it possible to have a function call instead? My concern is that performance is degrading and the DOM is forever getting larger.
Thanks,
Martin