Is it possible to add javascript reference dynamically from code behind aspx.cs?
Like this:
private void AddScriptReference(string path) { //Add refer
You can use the ASP.NET Ajax ScriptManager to do so.
Add it to your masterpage, and use ScriptManager.RegisterClientScriptInclude from your codebehind.