2013-05-02 100 views
0

好吧我嘗試建立在asp.net web表單但是我收到以下錯誤消息的自定義用戶控件:試圖實現CustomeUserControl時收到錯誤

說明:資源的需要解析過程中出現錯誤服務這個請求。請檢查以下特定的分析錯誤詳細信息並適當修改您的源文件。

Parser Error Message: The file '/User%20Controlls/Header.ascx' does not exist. 
Source Error: 
Line 2: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="UsingUserContols.Default" %> 
Line 3: 
Line 4: <%@ Register src="User%20Controlls/Header.ascx" tagname="Header" tagprefix="uc1" %> 
Line 5: 
Line 6: <!DOCTYPE html> 

回答

0

嘗試從「User%20Controlls」文件夾文本中刪除空格。

將其重命名爲「UserControlls」

相關問題