Exemplo n.º 1
0
        private void renderGeneralFolder(HtmlTextWriter output)
        {
            //
            // Render Contact
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Contact");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            ltContact.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Status
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Status");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msStatus.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ParentSeminar
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Seminar");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msParentSeminar.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render RegistrationDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("RegistrationDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deRegistrationDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ClassUnits
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Class units");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbClassUnits.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 2
0
        private void renderPayment_DetailsFolder(HtmlTextWriter output)
        {
            //
            // Render TotalFee
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Total registration calcSeminarFee");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbTotalFee.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PaymentAmount
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Amount paid");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPaymentAmount.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PaymentDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Date of payment");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            dePaymentDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PaymentReference
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("PaymentReference");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPaymentReference.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 3
0
        private void renderActivityFolder(HtmlTextWriter output)
        {
            //
            // Render HasWaiver
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("HasWaiver");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbHasWaiver.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render IsPromotable
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("IsPromotable");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbIsPromotable.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PromotionFlags
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("PromotionFlags");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msPromotionFlags.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render IsInstructor
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("IsInstructor");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbIsInstructor.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Rank
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Rank");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msRank.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render RankDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("RankDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deRankDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 4
0
        private void renderMembershipFolder(HtmlTextWriter output)
        {
            //
            // Render MemberSince
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Member Since");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deMemberSince.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render IsPrimaryOrgActive
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Dojo membership activity.");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbIsPrimaryOrgActive.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PrimaryOrgMembership
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("PrimaryOrgMembership");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msPrimaryOrgMembership.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render IsParentOrgActive
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Is Parent Active?");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbIsParentOrgActive.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ParentOrgMembership
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ParentOrgMembership");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msParentOrgMembership.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render LastMembershipScan
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("LastMembershipScan");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbLastMembershipScan.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 5
0
        private void renderDefaultFolder(HtmlTextWriter output)
        {
            //
            // Render Default Folder
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", SubHeaderCssClass);
            output.WriteAttribute("colspan", "2");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Default");
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render EndNoteReferenceID
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("EndNoteReferenceID");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbEndNoteReferenceID.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PublishYear
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Year");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPublishYear.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Title
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Title");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbTitle.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Pages
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Page Count");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPages.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Edition
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Edition");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbEdition.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Isbn
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Isbn");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbIsbn.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Label
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Label");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbLabel.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AbstractText
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AbstractText");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ftbAbstractText.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ContentsText
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ContentsText");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ftbContentsText.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render NotesText
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("NotesText");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbNotesText.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonFillDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonFillDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            deAmazonFillDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonRefreshDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonRefreshDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            deAmazonRefreshDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ImageUrlSmall
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ImageUrlSmall");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbImageUrlSmall.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ImageUrlMedium
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ImageUrlMedium");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbImageUrlMedium.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ImageUrlLarge
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ImageUrlLarge");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbImageUrlLarge.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonListPrice
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonListPrice");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonListPrice.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonOurPrice
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonOurPrice");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonOurPrice.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonAvailability
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonAvailability");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonAvailability.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonMedia
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonMedia");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonMedia.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonReleaseDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonReleaseDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonReleaseDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AmazonAsin
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("AmazonAsin");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            ltAmazonAsin.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render AbstractEnabled
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Enable Abstract?");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            cbAbstractEnabled.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ContentsEnabled
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Enable Contents?");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            cbContentsEnabled.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render NotesEnabled
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Enable Notes?");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            cbNotesEnabled.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Authors
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Authors");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbAuthors.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render SecondaryAuthors
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Secondary Authors");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbSecondaryAuthors.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Publisher
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Publisher");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPublisher.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render MediaType
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Reference Type");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            msMediaType.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Keywords
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row1");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Keywords");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.WriteAttribute("class", "row2");
            output.Write(HtmlTextWriter.TagRightChar);
            msKeywords.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 6
0
        private void renderPublishingFolder(HtmlTextWriter output)
        {
            //
            // Render ParentCatalog
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Parent Catalog");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msParentCatalog.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render PublishDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Publish Date");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            dePublishDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ExpirationDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Expiration Date");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deExpirationDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ArchiveDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Archive Date");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deArchiveDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Priority
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Priority");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbPriority.RenderControl(output);
            revPriority.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render SortOrder
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("SortOrder");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbSortOrder.RenderControl(output);
            revSortOrder.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Rating
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Rating");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msRating.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render References
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Cross References");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msReferences.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render CommentsEnabled
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("CommentsEnabled");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbCommentsEnabled.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render NotifyOnComments
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("NotifyOnComments");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            cbNotifyOnComments.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render OverrideUrl
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("OverrideUrl");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbOverrideUrl.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }
Exemplo n.º 7
0
        private void renderDefaultFolder(HtmlTextWriter output)
        {
            //
            // Render Member
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Member");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msMember.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render MemberType
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("MemberType");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msMemberType.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render StartDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("StartDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deStartDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render EndDate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("EndDate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            deEndDate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render Organization
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("Organization");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msOrganization.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render OrganizationMemberID
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("OrganizationMemberID");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            tbOrganizationMemberID.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render ParentMembership
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("ParentMembership");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msParentMembership.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");

            //
            // Render SourceTemplate
            //
            output.WriteFullBeginTag("tr");
            output.WriteBeginTag("td");
            output.WriteAttribute("valign", "top");
            output.Write(HtmlTextWriter.TagRightChar);
            output.Write("SourceTemplate");
            output.WriteEndTag("td");
            output.WriteBeginTag("td");
            output.Write(HtmlTextWriter.TagRightChar);
            msSourceTemplate.RenderControl(output);
            output.WriteEndTag("td");
            output.WriteEndTag("tr");
        }