Hello.
If you want only to show blog name to which current blog comment belongs, and you want to do it in "Edit comment" dialog, I believe there is a simpler way. You can put Label control on
/CMSModules/Blogs/CMSPages/Comment_Edit.aspx and write following code in
Page_Load method in code-behind:
// Get parent blog
TreeNode blogNode = BlogHelper.GetParentBlog(commentObj.CommentPostDocumentID, true);
<Label control ID>.Text = blogNode.DocumentName;
Best Regards,
Radek Macalik