Sir i try like below.

<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>









   
   

   
   
    


   
   

   
   

 at button click i have one msg. box

ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Data Save Successfully');", true);

please help me to find out a way that before and after click button i get the effect and also msg box display.