Exemplo n.º 1
0
        protected override void CreateControlHierarchy()
        {
            Rows.Add(RenderUtils.CreateTableRow());

            TemplateContainer = RenderUtils.CreateTableCell();

            if (!RenderHelper.AddStatusBarTemplateControl(TemplateContainer))
            {
                if (RenderHelper.AllowBatchEditing)
                {
                    TemplateContainer = new GridViewCommandItemsCell(RenderHelper, GetAllowedCommandItems(), false);
                }
                else
                {
                    CreateSearchResultSummaryControl();
                }
            }

            MainRow.Cells.Add(TemplateContainer);

            if (Grid.SettingsLoadingPanel.Mode == GridViewLoadingPanelMode.ShowOnStatusBar)
            {
                MainRow.Cells.Add(RenderUtils.CreateTableCell());
                LoadingContainer.ID = "DXLPContainer";
            }
        }