C# EXT : call javascript code from code behind

Viewed 286

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?

0 Answers
Related