Ok so i have an AJAX enabled website. Its running properly except for one tiny problem:

Basically this happens when i click a linkbutton here:

which is in an Update panel with a txtbox
the code behind is as follows:
CODE
protected void Confirm_Click(object sender, EventArgs e)
{
Connectto();
String DBresponse = null;
SqlParameter CusPhone = new SqlParameter();
CusPhone.ParameterName = "@CusPhone";
CusPhone.DbType = DbType.String;
CusPhone.Value = Session["<removed>"];
String poolDB = "Select <removed> FROM <removed> WHERE <removed>";
SqlCommand pool = new SqlCommand(poolDB, connect);
pool.Parameters.Add(CusPhone);
DBresponse = (String)pool.ExecuteScalar();
if (DBresponse != null)
{
connect.Close();
Server.Transfer("<removed>.aspx", true);
}
else
{
a label.Text = "<br /><removed><br />";
}
}
i've tried googling it but cannot understand why its poping up. I have removed all Response.write's from the code in that area and still no go.
This post has been edited by rgfirefly24: 8 May, 2008 - 11:18 AM