• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 242
  • Last Modified:

Repeater control? Adding multiple comments for a post in forums..hows it done?

I would like to know how to build a form with like we see in EE itself. Like, when you aska  question, it posts to the thread and there is a reply, or delete to every post made. Like you see in blogs. What do those blogs use? Repeater control? and then refresh every time based on the thread/query? basically, I want to build a page where you can post a comment and ppl can reply to it. Do they use repeater controls? -

Thanks, CT.
0
Aurora27
Asked:
Aurora27
  • 2
1 Solution
 
RedKelvinCommented:
0
 
Aurora27Author Commented:
That uses a table row I guess, like in HTML. I think there is a control for that? Datalist shud work I guess...let me try it.

CT.
0
 
cmhuntyCommented:
First thing you will need to do is have your database designed correctly. How I would design a page like this one........

In the database, I would have a master question table and a comment table. The comment table would have a foreign key constraint with master question table. I would then create a question user control which would contain the main question at the top and then use the repeater control which I'd bind to the comments related to that question.

When you've created your user control, you can just place this on the page and reference the question you want to display. The user control would be fully reusable.
0
 
Aurora27Author Commented:
Oh..ok Many Thankx. Looking forward to use it. Will try it today.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now