Solved

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

Posted on 2007-11-13
4
230 Views
Last Modified: 2013-12-17
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
Comment
Question by:Aurora27
  • 2
4 Comments
 
LVL 22

Expert Comment

by:RedKelvin
ID: 20277049
0
 
LVL 3

Author Comment

by:Aurora27
ID: 20277202
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
 
LVL 11

Accepted Solution

by:
cmhunty earned 250 total points
ID: 20278973
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
 
LVL 3

Author Comment

by:Aurora27
ID: 20283230
Oh..ok Many Thankx. Looking forward to use it. Will try it today.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question