MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

any way to have a web part for group discussion ?  (Mono Support )

Viewed 5913 time(s), 4 post(s) 8/1/2013 5:02:26 PMby super
super

super

8/1/2013 5:03:32 PM
I want to have specific group discussion on a page.

Any way to have a group web part  tag for that ? if yes, please give an example in code how to write a group discussion web part ?

For example, I want to show new topics activity from this discussion in a page, how I can do that ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
vzakanj

vzakanj

8/2/2013 3:33:46 PM
You can use the DiscussionContainer.ascx control which has the GroupId property exposed. When you set that property to a certain group's id, it will show the discussions for that group.

This content has not been rated yet. 
345 Reputation 61 Total posts
super

super

8/2/2013 3:40:34 PM
Could you please show me an example, how to do that ?
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

8/6/2013 7:53:40 AM
Hi,

you need to go into a code-behind of your page where you have discussion board and do the following:

myDiscussionBoard.GroupId = new Guid("Guid of your Group");
Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts