I don't need to make a whole ajax post , I just need to create an iFrame that will enable me to get the response
$('#ActivateBtn').click
(
function () {
var SocietyNameTBxvar = document.getElementById("<%=SocietyNameTBx.ClientID%>");
var UserNbreTBxvar = document.getElementById("<%=UserNbreTBx.ClientID%>");
var iframe = document.createElement("iframe");
iframe.src = encodeURI("CreateKeyFile.aspx?company=" + SocietyNameTBxvar +"&users=" + UserNbreTBxvar);
document.body.appendChild(iframe);
return false;
}
);
and it works like magic =)