protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools tools = new SPSEditorPartsTools(writer);

            tools.DecorateControls(Controls);

            tools.SectionBeginTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_LinkedTo"));
            ddlWebparts.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_MaxLevels"));
            txtMaxLevels.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkNavigateToList.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_NavigateToListView"));
            ddlListViews.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionEndTag();
        }
Beispiel #2
0
        protected override void RenderContents(HtmlTextWriter writer)
        {
            tools.SectionHeaderTag(SPSResources.GetResourceString("SPS_Login"));
            txtLogin.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPS_Password"));
            txtPassword.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPS_MailServer"));
            txtMailServer.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPS_MailPort"));
            txtMailPort.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkUseSSL.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPS_List"));
            ddlLists.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkManual.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools partsTools = new SPSEditorPartsTools(writer);

            partsTools.SectionBeginTag();

            partsTools.SectionHeaderTag("Configuration:");
            partsTools.CreateTextBoxAndBuilderXml(txtConfig);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            chkDevErrors.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionEndTag();
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools tools = new SPSEditorPartsTools(writer);

            tools.SectionBeginTag();
            tools.DecorateControls(Controls);

            tools.SectionHeaderTag("Variable Names:");
            txtQueryParameters.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag("Default Values:");
            txtDefaultParameters.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionEndTag();
        }
Beispiel #5
0
        protected override void RenderContents(HtmlTextWriter writer)
        {
            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_ListName"));
            ddlLists.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_ViewName"));
            ddlViews.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkShowTree.RenderControl(writer);
            chkSortHierarchyTree.RenderControl(writer);
            chkShowBreadCrumb.RenderControl(writer);
            chkShowNewButton.RenderControl(writer);
            chkShowActionsButton.RenderControl(writer);
            chkShowUpButton.RenderControl(writer);
            chkShowNumberOfItems.RenderControl(writer);
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools tools = new SPSEditorPartsTools(writer);

            tools.DecorateControls(Controls);

            tools.SectionBeginTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_LinkedTo"));
            ddlWebparts.RenderControl(writer);

            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_Filter"));
            txtFilter.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_Behaviour"));
            chkFollowListView.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkNavigateToList.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkSortHierarchy.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            ddlListViews.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkShowCounter.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_TreeExpandDepth"));
            txtExpandDepth.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkHideStartUnder.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionEndTag();
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools tools = new SPSEditorPartsTools(writer);

            tools.DecorateControls(Controls);

            tools.SectionBeginTag();

            tools.SectionHeaderTag();
            chkEnableCache.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSLocalization.GetResourceString("SPSFW_CacheTimeOut"));
            txtCacheTimeInSeconds.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionEndTag();

            if (!string.IsNullOrEmpty(_errorMessage))
            {
                Zone.ErrorText += Environment.NewLine + _errorMessage;
            }
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools tools = new SPSEditorPartsTools(writer);

            tools.DecorateControls(Controls);

            tools.SectionBeginTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_TopUrl"));
            txtRootWeb.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkShowSubsites.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkShowLists.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag();
            chkShowFolders.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_FilterWeb"));
            txtFilterWeb.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_FilterList"));
            txtFilterList.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionHeaderTag(SPSResources.GetResourceString("SPSPE_TreeExpandDepth"));
            txtExpandDepth.RenderControl(writer);
            tools.SectionFooterTag();

            tools.SectionEndTag();
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools partsTools = new SPSEditorPartsTools(writer);

            partsTools.DecorateControls(Controls);
            partsTools.SectionBeginTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_TopSite"));
            partsTools.CreateTextBoxAndBuilder(_topSite);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_Lists"));
            partsTools.CreateTextBoxAndBuilder(_lists);
            partsTools.SectionNextLineTag();
            _btnListInfo.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_Fields"));
            partsTools.CreateTextBoxAndBuilder(_fields);
            partsTools.SectionNextLineTag();
            _btnFieldInfo.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_CAMLQuery"));
            partsTools.CreateTextBoxAndBuilderXml(_camlQuery);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_OrderFields"));
            partsTools.CreateTextBoxAndBuilder(_sortFields);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_XSL"));
            partsTools.CreateTextBoxAndBuilderXml(_xsl);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSResources.GetString("SPSEP_MaxResults"));
            partsTools.CreateTextBoxAndBuilderXml(_maxResults);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _camlQueryRecursive.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _includeListData.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _dateTimeISO.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _fixLookUp.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _provideFirstRow.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugResults.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugQuery.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugEvaluator.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _showExtendedErrors.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionEndTag();
        }
        protected override void RenderContents(HtmlTextWriter writer)
        {
            SPSEditorPartsTools partsTools = new SPSEditorPartsTools(writer);

            partsTools.DecorateControls(Controls);
            partsTools.SectionBeginTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_TopSite"));
            partsTools.CreateTextBoxAndBuilder(_topSite);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_Lists"));
            partsTools.CreateTextBoxAndBuilder(_lists);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_Fields"));
            partsTools.CreateTextBoxAndBuilder(_fields);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_CAMLQuery"));
            partsTools.CreateTextBoxAndBuilderXml(_camlQuery);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_XMLTreeConfiguration"));
            partsTools.CreateTextBoxAndBuilderXml(_xsl);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag(SPSRollUpEngine.GetResourceString("SPSEP_MaxResults"));
            partsTools.CreateTextBoxAndBuilderXml(_maxResults);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _camlQueryRecursive.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _includeListData.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _dateTimeISO.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _fixLookUp.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugResults.RenderControl(writer);
            partsTools.SectionFooterTag();

            //partsTools.SectionHeaderTag();
            //_debugResultsXML.RenderControl(writer);
            //partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugQuery.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _debugEvaluator.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionHeaderTag();
            _showExtendedErrors.RenderControl(writer);
            partsTools.SectionFooterTag();

            partsTools.SectionEndTag();
        }