javascript in XSL

Jun 17, 2009 at 10:43 PM

Hi Daniel,

Would you expect to be able to include <script type="text/javascript>... </script> in the XSL used by the web part?




Jun 18, 2009 at 7:09 PM

While you *could*, it's not something I'd recommend. The best practice is to package the JS in the webpart.

Inherit from the XmlWebPart and use the AtlasScriptManager property to register the external javascript.

Jun 30, 2009 at 9:51 PM

Thanks Daniel, that worked!