I am using the webpart BlogCommentView.ascx on a page. If there are no comments I would like to have the section that says:
Comments No Comments
to NOT be displayed. Is there any easy way to do this?
Thanks
Never mind...did this: <%# BlogFunctions.GetBlogCommentsCount(Eval("DocumentID"), Eval("NodeAliasPath")) > 0 ? "Comments: (" + BlogFunctions.GetBlogCommentsCount(Eval("DocumentID"), Eval("NodeAliasPath")) + ") ":"" %>
Please, sign in to be able to submit a new answer.