protected override void Render(HtmlTextWriter writer)
        {
            writer.WriteLine(@"<table class=""vcard""><tr><td width=""50""><div style=""display:none"" class=""fn"">" + this.User.Username + "</div>");
            new Gravatar(this.User, 50).RenderControl(writer);
            writer.WriteLine("</td><td>");

            UserProfileMenu menu = new UserProfileMenu(this.User.Username);
            this.Controls.Add(menu);
            menu.RenderControl(writer);
            writer.WriteLine("</td></tr></table>");
            writer.WriteLine("<br />");
        }
Exemple #2
0
        protected override void Render(HtmlTextWriter writer)
        {
            writer.WriteLine(@"<table class=""vcard""><tr><td width=""50""><div style=""display:none"" class=""fn"">" + this.User.Username + "</div>");
            new Gravatar(this.User, 50).RenderControl(writer);
            writer.WriteLine("</td><td>");

            UserProfileMenu menu = new UserProfileMenu(this.User.Username);

            this.Controls.Add(menu);
            menu.RenderControl(writer);
            writer.WriteLine("</td></tr></table>");
            writer.WriteLine("<br />");
        }