Пример #1
0
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            try
            {
                financedEstateList      = SharePointConnector.GetFinancedEstate();
                financedEstateImageList = SharePointConnector.GetFinancedEstateImages();

                this.LoadFilterControls();
            }
            catch (Exception ex)
            {
                LiteralControl errorMessage = new LiteralControl();
                errorMessage.Text = ex.Message;

                this.Controls.Clear();
                this.Controls.Add(errorMessage);
            }
        }