如题
在asp.net portal里自写个的用户控件,继承了PortalModuleControl
此用户控件放在测试页里正常显示(页面嵌入和动态装载都行)
如果整合到portal里就出现这样的异常------------------------------------------------------------------------
用户控件源文件必须具有 .ascx 文件扩展名。 at System.Web.UI.UserControlParser.CheckUserControlFileExtension(String fileName) at System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at Chint.Portal.DesktopDefault.Page_Init(Object sender, EventArgs e) in i:\workingc#\inteinfo\working\portalcsvs\desktopdefault.aspx.cs:line 63 
------------------------------------------------------------------------
很显然,控件的扩展名和格式应该是对的,可为什么还会出现这样的错误呢