创建一个ascx后页面上方有这段代码
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.cs" Inherits="Skins.Red.Control.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>现在因为需要我把WebUserControl1.ascx.cs和资源文件移到了Skins目录下,相应的Inherits也改成了Inherits="Skins.WebUserControl1",还有cs里的命名空间也改了,但点击ascx页面时还是提示说找不到隐藏代码,请问这样的问题该如何解决呢?
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.cs" Inherits="Skins.Red.Control.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>现在因为需要我把WebUserControl1.ascx.cs和资源文件移到了Skins目录下,相应的Inherits也改成了Inherits="Skins.WebUserControl1",还有cs里的命名空间也改了,但点击ascx页面时还是提示说找不到隐藏代码,请问这样的问题该如何解决呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货