Hi prakashmondal, you cannot show a MessageBox in an ASP.NET environment because the result of ASPNET is HTML and Javascript. Imagine that you have a client that connect from Linux, Linux cannot install .NET Framework so the MessageBox's class doesn't exists there.
string script = "alert('Registration Successfully Completed!');";
ScriptManager.RegisterStartupScript(this, GetType(),
"ServerControlScript", script, true);
Hope it helps.