示例#1
0
        protected override void Render(HtmlTextWriter writer)
        {
            writer.WriteLine(@"<div id=""{0}"" class=""StoryTags Hidden"">", this._storyID + "_StoryTags");

            writer.WriteLine(@"<table><tr><td width=""100%""><h3>Everyones tags:</h3></td><td class=""editableTagListTD""><h3>Your tags:</h3></td></tr><tr><td valign=""top"">");
            TagCloud tagCloud = new TagCloud();
            this.Controls.Add(tagCloud);
            tagCloud.DataBind(this._tags);
            tagCloud.RenderControl(writer);
            writer.WriteLine(@"</td><td class=""editableTagListTD"">");

            EditableTagList editableTagList = new EditableTagList();
            editableTagList.DataBind(this._storyID, this.KickPage.KickUserProfile.Username);
            this.Controls.Add(editableTagList);
            editableTagList.RenderControl(writer);

            writer.WriteLine("</td></tr></table></div>");
        }
示例#2
0
        protected override void Render(HtmlTextWriter writer)
        {
            writer.WriteLine(@"<div id=""{0}"" class=""StoryTags Hidden"">", this._storyID + "_StoryTags");

            writer.WriteLine(@"<table><tr><td width=""100%""><h3>Everyones tags:</h3></td><td class=""editableTagListTD""><h3>Your tags:</h3></td></tr><tr><td valign=""top"">");
            TagCloud tagCloud = new TagCloud();

            this.Controls.Add(tagCloud);
            tagCloud.DataBind(this._tags);
            tagCloud.RenderControl(writer);
            writer.WriteLine(@"</td><td class=""editableTagListTD"">");

            EditableTagList editableTagList = new EditableTagList();

            editableTagList.DataBind(this._storyID, this.KickPage.KickUserProfile.Username);
            this.Controls.Add(editableTagList);
            editableTagList.RenderControl(writer);

            writer.WriteLine("</td></tr></table></div>");
        }