下面的控件将被创建在Engine\Module\Faqs\Controls中,用来显示FAQ的答案和参考:
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using aspNET.StarterKit.Communities.Faqs;
using System.ComponentModel;
namespace aspNET.StarterKit.Communities
{[Designer(typeof(aspNET.StarterKit.Communities.CommunityDesigner))]
public class FaqAnswer : WebControl
{public FaqAnswer() : base()
{CssClass = "faqAnswerText";
if(Context != null)
{Object faqInfo = Context.Items["ContentInfo"];
if<< 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] ... 下一页 >>