protected override void OnPreRender(EventArgs e)
 {
     base.OnPreRender(e);
     if (base.Scripts.Count > 0)
     {
         string fullName = typeof(ScriptManagerProxy).Assembly.FullName;
         foreach (ScriptReference scriptReference in base.Scripts)
         {
             if (string.IsNullOrEmpty(scriptReference.Assembly))
             {
                 scriptReference.Assembly = fullName;
             }
         }
         ToolkitScriptManager.ExpandAndSort(base.Scripts);
     }
 }