Am using the below code to show the error message. It's working but i have a problem, design disappear while running scriptmanager message box. I can't able to fix this.
Page.ClientScript.RegisterStartupScript(
this.GetType(), "PopupScript", "javascript:Editalertmessage('" + DeleteUS + "');", true);