日期:2014-05-17  浏览次数:20538 次

创建控件时出错???
创建控件时出错 - showtype无法找到 Web 项目项“E:\MyCode\TestCode\dnt\Discuz.Web\admin\aggregation_forumaggset.aspx”。




HTML code

<%@ Page language="c#" Inherits="Discuz.Web.Admin.forumaggset" Codebehind="aggregation_forumaggset.aspx.cs" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="AjaxTopicInfo" Src="../UserControls/AjaxTopicInfo.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
  <head>
        <title>websitesetting</title>
        <link href="../styles/gridStyle.css" type="text/css" rel="stylesheet" />
        <link href="../styles/calendar.css" type="text/css" rel="stylesheet" />
        <link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />        
        <script type="text/javascript" src="../js/common.js"></script>
        <script type="text/javascript" src="../js/AjaxHelper.js"></script>
        <script type="text/javascript" src="../js/calendar.js"></script>
        <link href="../styles/dntmanager.css" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="../js/draglist.js"></script>
        <link href="../styles/draglist.css" type="text/css" rel="stylesheet" />
        <script type="text/javascript">
            function validate(theform)
            {
                var idColl = $("dom0").getElementsByTagName("input");
                var idlist = "";
                for(i = 0 ; i < idColl.length ; i++)
                {
                    if(idlist=="")
                    {
                       idlist = idColl[i].value;
                    }
                    else
                    {
                       idlist = idlist + "," + idColl[i].value;
                    }
                }
                $("forumtopicstatus").value = idlist;
                return true;
            } 
        </script>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
</head>
    <body >
        <form id="Form1" runat="server">
        <div class="ManagerForm">
        <fieldset>        
        <legend style="background:url(../images/legendimg.jpg) no-repeat 6px 50%;">聚合首页BBS显示设置</legend>
        <table cellspacing="0" cellpadding="4" width="100%" align="center">
            <tr>
                <td  class="panelbox" width="50%" align="left">
                    <table width="100%">
                        <tr>
                            <td style="width: 100px">主题显示方式:</td>
                            <td>
                                <cc1:DropDownList ID="showtype" runat="server">
                                    <asp:ListItem Value="1">按最新主题显示</asp:ListItem>
                                    <asp:ListItem Value="2">按精华主题显示</asp:ListItem>
                                    <asp:ListItem Value="3">按版块列表显示</asp:ListItem>
                                </cc1:DropDownList>                        
                            </td>