Hi,
you can use javascript or jquery ajax for that.
jquery ajax as follows
$.get("Example.aspx?parameter1=1¶meter=2¶meter3=3, function(response) {
if(response!=null)
{
alert("Give yor msg here...");
confirm("msg");
}
});
coding in Example.aspx.cs page in page load
Response.Expires = -1;
string retResponse = String.Empty;
string str= Request["parameter1"].ToString();
string str1= Request["parameter2"].ToString();
retResponse = functionName(str, str1);
Response.ContentType = "text/plain";
Response.Write(retResponse);
Response.End();