Aug 16, 2017, 12:57 PM
call javascript code from code behind
I am trying to call javascript code in code behind (.aspx.cs) to reload a page like this:
X.Js.AddScript("parent.EBodyPanel.activeTab.reload();");
But its not working (no js error) , I tried with simpler alert function:X.Js.AddScript("alert('reload');");
But still no luck. Am I missing something?