protected void Page_Load(object sender, EventArgs e)
        {
            MobileVer = Core.Mobile.MobileDetector.IsRequestMatchesMobile(this.Context);

            RegisterClientScriptHelper.DataContactFullCardView(Page, TargetContact);

            ExecHistoryView();
            RegisterScript();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            TargetCompanyIfPerson = TargetContact is Person && ((Person)TargetContact).CompanyID != 0 ?
                                    DaoFactory.ContactDao.GetByID(((Person)TargetContact).CompanyID) :
                                    null;

            RegisterClientScriptHelper.DataContactFullCardView(Page, TargetContact);

            ExecHistoryView();
            RegisterScript();
        }