带标签的ASP.NET评论系统 [英] Asp.net comment system with tagging

查看:83
本文介绍了带标签的ASP.NET评论系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在asp.net中实现了评论系统,但是我仍然需要添加一项功能,允许用户在评论中标记其他用户.这意味着当他们在评论中添加@时,其他用户的名字就会出现建议.因此,如果有人输入@a,那么系统将建议所有以字母a开头的用户名.那么,对此有什么看法吗?

谢谢

Hi ,

I have implemented a comment system in asp.net but i still need to add a feature that allows users to tag other users in th comment. Which means when they put @ in the comment suggestions appears of other users name. So if someone puts @a then the system will suggest all user name that starts with letter a. So is there any opinion on how to make this ?

Thanks

推荐答案

预先键入下拉菜单是通过在后台进行AJAX调用来提供建议的.方案中的困难在于显示建议.我假设您希望它们在文本框中内联显示?浮动div位于文本框中具有正确z-index的插入点可能会起作用,但是很难在所有我认为的浏览器上正常工作.
Type-ahead dropdowns do this by making an AJAX call in the background to offer suggestions. The difficulty in scenario would be in displaying the suggestions. I''m assuming you would want them to appear inline in the textbox? A floating div positioned at the insertion point in the textbox with the proper z-index might work, but it will be difficult to get to function properly on all browsers I believe.


自动完成可能帮助您:
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx [ ^ ]

使用数据库和AjaxControlToolkit自动完成 [ http://www.aspsnippets.com/Articles/ASP.Net-AJAX-Control-Toolkit-AutoCompleteExtender-without-using-Web-Services.aspx [
Auto complete may help you :
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AutoComplete/AutoComplete.aspx[^]

AutoComplete With DataBase and AjaxControlToolkit[^]

http://www.aspsnippets.com/Articles/ASP.Net-AJAX-Control-Toolkit-AutoCompleteExtender-without-using-Web-Services.aspx[^]

Good Luck


这篇关于带标签的ASP.NET评论系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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