protected void frd_ServerClick(object sender, EventArgs e)
    {
        HtmlButton button = sender as HtmlButton;

        string frd_id = button.Attributes[("Value")];

        Response.Cookies["frd_id"].Value = frd_id;

        MsgboxDataSource1.DataBind();
    }
 protected void Timer1_Tick(object sender, EventArgs e)
 {
     MsgboxDataSource1.DataBind();
     UpdatePanel1.Update();
 }