Applications that leverage Microsoft AJAX.NET (Atlas) can be vulnerable to JavaScript hijacking,

I am getting a finding in my scan indicating that my code is vulnerable to JavaScript hijacking. My code dynamically generate all of the page content, including the Ajax ScriptManager. Because the content is not in the webpage as static markup it is my opinion that this is a false finding. Can someone review my code and either confirm or deny my belief and if I am incorrect recommend a proper implementation.

   private void CreateControls(ControlCollection cc)

 

   if (RadScriptManager.GetCurrent(_contextPage) == null)

 

   RadScriptManager rsm = new RadScriptManager();

  rsm.ID = "scriptManager";