Is there any way to reply comment in message board?!

Reza sh asked on January 26, 2016 08:09

hi. is there any way to reply the comment in message board?! another question is about Avatar of users who insert a comment in message board, how can i show the avatars in comments? i tried every way but i couldn't success!

thanks.

Correct Answer

Martin Hejtmanek answered on January 26, 2016 09:20

Hi, Message boards are currently just single-level flat structure, so they don't allow replies. You can use Forums for hierarchical discussions.

To display avatar in ASCX transformations use built-in transformation method:

public string GetUserAvatarImage(object userID, int maxSideSize, int width, int height, object alt)

E.g.

<%# GetUserAvatarImage(Eval("MessageUserID"), 50, 0, 0, Eval("MessageUserName")) %>
1 votesVote for this answer Unmark Correct answer

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