0
如何在應用程序A中使用來自應用程序B的用戶控件?ASP.NET - 如何從不同的應用程序使用用戶控件?
應用A是VB.NET應用
應用程序B是C#的應用程序。
此代碼試圖註冊的使用控制在一個aspx文件:
<%@ Register TagPrefix="uc1" TagName="Pager" Src="../ApplicationB/Controls/PagingControl.ascx" %>
我得到以下錯誤:
Parser Error Message: The virtual path '/ApplicationB/Controls/PagingControl.ascx' maps to another application, which is not allowed.
我可以使用應用程序B的PagingControl.ascx應用A內?
感謝
我有應用程序B的DLL的引用。有什麼方法可以讓我在應用程序A中使用PagingControl ASCX?我相信這就是你所指的。謝謝 – 2010-07-25 22:09:00