protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        PostBackTrigger trigger = new PostBackTrigger();
        trigger.ControlID = "Button1";
        UpdatePanel1.Triggers.Add(trigger);
    }
