hello.
did you add the reference to the previewscript.js file?
Hello Luis,
I did not add references to the javascripts. I added the script references below from the migration guide and it worked.
<Scripts>
<asp:ScriptReference
Name="Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js"
Assembly="Microsoft.Web.Preview"/>
<asp:ScriptReference
Name="Microsoft.Web.Resources.ScriptLibrary.PreviewGlitz.js"
Assembly="Microsoft.Web.Preview"/>
<asp:ScriptReferencePath="~/Scripts/Custom.js" />
</Scripts>
Thanks,
-CV
I can't getmy xml-script to work. I've converted the MS example that does databinding using an xml-script template but the JS code "searchResults.content.set_data(result)" no longer works. Can anyone suggest a solution?
No comments:
Post a Comment