Thanks for the help, so I understand that it should be RegisterStartupScript(typeof(String), param2, param3) Or RegisterStartupScript(GetType("String"), param2, param3) instead of RegisterStartupScript(GetType(String), param2, param3) Appreciate the help Andy Carpe Diem