I'm using message board as "Leave a comment" form in my application. I just want to show the count of approved messages. Can you please suggest idea to get the count of approved messages and I'm using ASCX transformation.
There is a simple function, you need only to pass board id which message coming from.
Thanks for your reply.
I'm new to Kentico, this might be a silly question. Where to find board ID and it seems integer value.
How to include this in ASCX transformation (For ex:
You can find it in Board_Board database table.
Syntax in transformation:
<%# CMS.MessageBoards.BoardMessageInfoProvider.GetMessagesCount(boardId,true,true) %>
Please, sign in to be able to submit a new answer.