I assume that the problem you are facing is that some controls are loading dynamically (i.e. in the update panel). This is a difficult problem - usually because you donβt know in advance which controls you will need, and therefore enable JS + CSS.
, JS CSS script?
YUI script MS one spring, ( , ).
. . . MS script YUI scriptloader.
, MS, MS script, , MS script CSS (, - ), , , YUI (, , CSS, - ).
script , , javascript. , javascript , , javascript, .
. ,
<div id="my control">
<script type="text/javascript>
foo(); // foo is defined in foo.js, which is included in a script element in the head
... more script ...
</script>
....
</div>
, script, ,
<div id="my control">
<script type="text/javascript>
var onLoadHandler = function() {
foo();
... more script ...
};
Sys.loader.registerScript("foo_package_name", null, onLoadHandler);
</script>
</div>