c# - Silverlight. Cannot call javascript function -
i use sharepoint client api save item list. need call javascript function update html. cannot! page refreshed instead of function call!
clientcontext.executequeryasync( (sender, args) => { system.windows.deployment.current.dispatcher.begininvoke( delegate() { stoploading(); htmlpage.window.invoke("updatehtmldetails", id, title, description); }); }, saverequestfailed);
id = int, title= string, description= string why page refreshed intead of call javascript?
function inside methods.js , registered:
<sharepoint:scriptlink name="/_layouts/tv2/js/methods.js" runat="server" localizable="false"/>
file presented on page 100%.
found problem. enable out of browser on!
Comments
Post a Comment