protected override void OnInit(EventArgs e)
    {
         base.OnInit(e);
         AsyncPostBackTrigger asyncTrigger = new AsyncPostBackTrigger();
         asyncTrigger.ControlID = "Button2";
         asyncTrigger.EventName = "Click";
         UpdatePanel1.Triggers.Add(asyncTrigger);
    }
