I have created a sandboxed solution for SharePoint 2013 which contains sandboxed visual webpart.
I need to call JavaScript function from back end. How can I accomplish this requirement? How can we load the .aspx page and where will I write the code behind so that I can get the variables passed using JavaScript function.
I have to perform some action on server side before calling JavaScript function, so I have to make call from back end. I am not able to do it using
Page.ClientScript.RegisterStartupScript(this.GetType(), "myScript", "resultSetFunction();", true);.