ASP.Net Ajax Stackoverflow 风格投票按钮
我一直在寻找使用 ASP.Net Ajax 在我的 ASP.NET 站点上实现 StackOverflow 风格的投票系统。我查看了工具包中的控件,总体印象深刻,但没有什么完全适合我的需求。我喜欢 Rating 控件,但我宁愿使用向上/向下投票,而不是从 5 票中投票。 ToggleButton 也接近我想要的,但仍然略有不同。
我看过关于如何在 Django 中做到这一点并且真的很喜欢它,但在我在 .Net 中重新实现整个事情之前,我想知道是否有人已经完成了这项工作。
有谁知道在 ASP.Net Ajax 中实现类似 SO 行为的控件吗?
I've been looking to implement a StackOverflow style voting system on my ASP.NET site using ASP.Net Ajax. I've looked at the controls in the toolkit and generally been very impressed but nothing quite suits my needs. I like the Rating control, but I'd rather use Up/Down voting instead of a vote out of 5. The ToggleButton is also close to what I want but still slightly different.
I've seen the post about how to do this in Django and really liked it but before I reimplement the whole thing in .Net I'd like to know if someone's already done the work.
Does anyone know of a control that implements SO-like behaviour in ASP.Net Ajax?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

我想我的问题是为什么你不能创建一个带有图像按钮的用户控件并在你的网站上重复使用它?
看起来很简单。可以是用户控件中放置的两个图像按钮,您甚至可以构建一些 js 来处理悬停等。只是一个想法。
I guess my thing is why couldn't you just create a user control with image buttons and re-use it across your site ?
Seems simple enough. Could be two image buttons place in a usser control, you can even build in some js to handle hover overs and such. Just a thought.