How to display messages in message boards in descending order?

Customer care manager

Juraj Ondrus asked on August 31, 2009 04:28

How to display messages in message boards in descending order?

Correct Answer

Juraj Ondrus answered on August 31, 2009 04:28

Please find this file: ~\CMSModules\MessageBoards\Controls\MessageBoard.ascx.cs. You need to edit line about 443 setting ORDER BY condition for datasource:

this.rptBoardMessages.DataSource = BoardMessageInfoProvider.GetMessages(where, "MessageInserted DESC");

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.