To get the CTP (aka "Futures") stuff into your scripts, you need to manually add references to the scripts in your ScriptManager, like this:
<asp:scriptmanager runat="”server”" id="”ScriptManager1”">
<scripts>
<asp:scriptreference assembly="Microsoft.Web.Preview" name="PreviewScript.js" />
<asp:scriptreference assembly="Microsoft.Web.Preview" name="PreviewGlitz.js" />
<asp:scriptreference assembly="Microsoft.Web.Preview" name="PreviewDragDrop.js" />
</scripts>
</asp:scriptmanager>
Now you should be able to use stuff like Sys.Preview.UI.Button again (note the need now to puts "Preview" after the first part of the namespaces).
No comments:
Post a Comment