Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _bllTicket = new BLLTicket();
            Control div = Master.FindControl("divLogout");
            div.Visible = true;

            Label lblAdmin = Master.FindControl("lblAdmin") as Label;
            lblAdmin.Text = "" + Session["Admin"];

            int ticketId = Convert.ToInt32(Request.QueryString["TicketId"]);
            _tick = _bllTicket.GetTicketById(ticketId);

            if (_tick != null)
            {
                PopulateLabels();
                PopulateCommentBox();
                NewCommentControls();
                BottomButtons();
            }
        }