protected void btnSend_Click(object sender, EventArgs e) { Label7.Visible = false; string flag = apprvoe.Checked == true ? "Y" : "N"; string result = ClientGetAsync.Main(TRANSID.Text, FROM.Text, TO.Text, TOKENID.Text, flag); // Create the state object. // Put the request into the state object so it can be passed around. //rs.Request = wreq; // Issue the async request. Label7.Visible = true; Label7.Text = "The Request for approval via by sms with tokenID : " + TOKENID.Text + " was successful"; //Response.ClearHeaders(); //Response.Clear(); //Response.Write(result); //Response.End(); TextBox1.Text = result; // Response.Write("<script>showRespone('" + result + "');</script>"); //this.ClientScript.RegisterStartupScript(GetType(), "onload", "<script>alert('" + result + "');</script>"); //UpdatePanel1.Update(); }
// Use this for initialization void Start () { request= new ClientGetAsync(resp); ++totalPickups; }
// Use this for initialization void Start() { request = new ClientGetAsync(resp); ++totalPickups; }