Posted on: 10/21/2014 12:02:50 PM | Views : 430

Hi,
Any idea why the following code does not focus on the window that is being opened?
ScriptManager.RegisterStartupScript(Page, typeof(Page), "OpenWindow", "var mywin = window.open('a_controlReport.aspx?recStrQuery=" + recStrQuery.Replace("'", "%27") + "&curTable=" + app_Code + "&field_toUpdate=" + field_toUpdate + "&table=" + cfg[i, 6].Trim() + "&id=" + id + "&dir=" + cfg[i, 10] + ...

Go to the complete details ...