创建论坛帖子控制 [英] Creation of forum post control

查看:64
本文介绍了创建论坛帖子控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在创建论坛帖子控制。我已经使用Repeater成功创建了第一级帖子。

现在我有一个帖子,然后转发器将成功显示它。现在,如果有回复此帖子,那么它应显示在该帖子下方。为此,我在主转发器中动态添加了另一个转发器,并在每次回发时绑定它。这个级别也很好。但是现在如果为第二级帖子(回复)添加了回复,那么就会出现问题,因为它的数据没有绑定。

请帮我解决这个问题。我必须到第n级回复。

如果ASP.NET控件或Telerik Rad控件中有任何内置控件用于此目的,请现在让我。



问候,

Sonia Kamran

解决方案

这篇文章适合你。 JumpyForum:受代码项目论坛/讨论/留言板的启发 [ ^

Hi,

I am creating forum post control. I have created first level posts successfully using Repeater.
Now for example I have a post then repeater will show it successfully. Now if there is reply to this post then it should display below that post. For this purpose I have added another repeater in the main repeater dynamically, and bind this on every postback. This level is also working fine. But now if there is reply added for the second level post(reply) then there is problem because its data does not bind.
Please help me how to do this. I have to go to nth levels for reply.
Please let me now if there is any built in control in ASP.NET controls or Telerik Rad controls for this purpose.

Regards,
Sonia Kamran

解决方案

This article is for you. JumpyForum: Inspired by Code Project Forum / Discussion / Message board[^]


这篇关于创建论坛帖子控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆