just missed the semicolon I think.
Page.ClientScript.RegisterStartupScript(this.GetType(), "Call my function", "overlay('Saved Succesfully ');", true);
or
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "tmp", "<script type='text/javascript'>disp_confirm();</script>", false);