Not sure if you have figured it out yet, but I think the problem is where you register your startup script. It should point to the page (page where the control is loaded) and not to the control itself. You can try : ScriptManager.RegisterStartupScript(this.Page,typeof(this.Page.getType()) ,"ScriptKey","alert('HI')", true); Hope this helps.