private void ddContType_SelectedIndexChanged(object sender, EventArgs e)
        {
            IncidentBoxDocument ibd = null;

            if (ViewState["IncidentBoxDocument"] != null)
            {
                ibd = IncidentBoxDocument.Load(IssBoxId, (string)ViewState["IncidentBoxDocument"]);
            }
            else
            {
                ibd = IncidentBoxDocument.Load(IssBoxId);
            }

            GeneralIncidentBoxBlock gibb = ibd.GeneralBlock;

            if ((int)ControllerAssignType.CustomUser == int.Parse(ddContType.SelectedValue))
            {
                trController.Visible = true;
            }
            else
            {
                trController.Visible = false;
            }

            ViewState["IncidentBoxDocument"] = ibd.GetDocumentString();
        }
        private void ddRespType_SelectedIndexChanged(object sender, EventArgs e)
        {
            IncidentBoxDocument ibd = null;

            if (ViewState["IncidentBoxDocument"] != null)
            {
                ibd = IncidentBoxDocument.Load(IssBoxId, (string)ViewState["IncidentBoxDocument"]);
            }
            else
            {
                ibd = IncidentBoxDocument.Load(IssBoxId);
            }

            GeneralIncidentBoxBlock gibb = ibd.GeneralBlock;

            if ((int)ResponsibleAssignType.CustomUser == int.Parse(ddRespType.SelectedValue))
            {
                //				lblForResp.Text = LocRM.GetString("tResponsible") + ":";
                //				ddResponsible.Visible = true;
                //				lblResponsible.Visible = false;
                //				lblChangeButton.Visible = false;
                trCustomUser.Visible = true;
                Util.CommonHelper.SafeSelect(ddResponsible, gibb.Responsible.ToString());
            }
            else
            {
                trCustomUser.Visible = false;
            }

            BindResponsible(gibb);

            ViewState["IncidentBoxDocument"] = ibd.GetDocumentString();
        }
        protected void btnRefresh_Click(object sender, EventArgs e)
        {
            IncidentBoxDocument ibd = null;

            if (ViewState["IncidentBoxDocument"] != null)
            {
                ibd = IncidentBoxDocument.Load(IssBoxId, (string)ViewState["IncidentBoxDocument"]);
            }
            else
            {
                ibd = IncidentBoxDocument.Load(IssBoxId);
            }

            ibd.GeneralBlock.ResponsiblePool = GetUsers();

            BindResponsible(ibd.GeneralBlock);

            ViewState["IncidentBoxDocument"] = ibd.GetDocumentString();
        }
        protected void btnRefresh2_Click(object sender, EventArgs e)
        {
            IncidentBoxDocument ibd = null;

            if (ViewState["IncidentBoxDocument"] != null)
            {
                ibd = IncidentBoxDocument.Load(IssBoxId, (string)ViewState["IncidentBoxDocument"]);
            }
            else
            {
                ibd = IncidentBoxDocument.Load(IssBoxId);
            }


            ibd.EMailRouterBlock.InformationRecipientList = GetUsers();

            BindReipients(ibd.EMailRouterBlock);

            ViewState["IncidentBoxDocument"] = ibd.GetDocumentString();
        }