I'm writing a custom class library that contains custom controls (not user controls). I have some embedded javascript files that need to be registered on the page.
Now since this is a class library, how do I detect whether or not to use a ToolKitScriptManager or ScriptManager?
Page.ClientScript is a ClientScriptManager, but would I do if the page has the new ToolKitScriptManager?