是VS.NET的BUG吗?碰到一奇怪问题,不管哪个页面加了一个WebUserControl1.ascx后,按纽都不能触发,分页控件也不能触发事件,提示是页面左下角出现“网页有错误这个提示”,页面完全没反应,就象没点一样,我找了N天了,也没找出结果,哪位大虾能够帮我看看哪里出了问题,感激不尽
代码如下:你们可以直接测试
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.cs" Inherits="ezgbds.ezgbdsw.jxzx.jxzxUserControls.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%><TABLE cellSpacing="0" cellPadding="0" width="780" border="0">
<TBODY>
<TR>
<TD>
<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="185" width="780" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20638">
<PARAM NAME="_cy" VALUE="4895">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="/ezgbds/images/Flash/index.swf">
<PARAM NAME="Src" VALUE="/ezgbds/images/Flash/index.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="-1">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="/ezgbds/images/Flash/index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="780" height="185"> </embed>
</OBJECT>
</TD>
</TR>
<TR>
<TD bgColor="#393842" height="2"></TD>
</TR>
<TR>
<TD>
<TABLE height="25" cellSpacing="0" cellPadding="0" width="780" bgColor="#8c8ead" border="0">
<TBODY>
<TR vAlign="middle" align="center">
<TD width="260" height="25"><IMG src="/ezgbds/images/e-mail.gif" border="0"></A></TD>
<TD vAlign="middle" width="70"><FONT face="宋体"> </FONT></TD>
<TD align="right" vAlign="middle"><A target="_self" href="http://ezrtv.bycn.net/ezgbdslt" style="COLOR: #ff0000; TEXT-DECORATION: none">广电论坛</A><span style='COLOR:#ffff00'>
建议使用分辨率<font face="宋体">:</font>1024 * 768</span></TD>
<TD vAlign="middle" width="50"><FONT face="宋体"> </FONT></TD>
</TR>
</FORM>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD bgColor="#393842" height="2"></TD>
</TR>
<TR>
<TD id="belowheader">
<TABLE style="FONT-SIZE: 12px; COLOR: #ffffff" cellSpacing="0" cellPadding="0" width="780"
bgColor="#8a8fa8" border="0">
<TBODY>
<TR>
<TD align="left" colSpan="2" height="25"> | <A href="/ezgbds/index.aspx">首
页</A> | <A href="/ezgbds/ezgbdsw/ziliaowenjian/dsjjj.aspx" target="_self">
广电局简介</A> | <A href="/ezgbds/ezgbdsw/jujiguan/julingdao.aspx" target="_self">局(集团)领导</A>
| <A href="/ezgbds/ezgbdsw/jujiguan/jujiguan.aspx" target="_self">局机关(机构科室)</A>
| <A href="/ezgbds/ezgbdsw/jujiguan/jujiguan.aspx?ID=%e4%ba%ba%e6%89%8d%e6%8b%9b%e8%81%98"
target="_self">人才招聘</A> |
</TD>
</TR>
<TR>
<TD style="BORDER-TOP: #666666 1px solid" align="left" colSpan="2" height="25">
| <A href="/ezgbds/ezgbdsw/xwzx/xwzx.aspx" target="_self">新闻中心</A> |
<A href="/ezgbds/ezgbdsw/sjwyzx/sjwyzx.aspx" target="_self">社教文艺中心</A> | <A href="/ezgbds/ezgbdsw/gbdsb/gbdsb.aspx" target="_self">
广播电视报</A> | <A href="/ezgbds/ezgbdsw/jxzx/jxzx.aspx" target="_self">技术中心</A>
| <A href="/ezgbds/ezgbdsw/jiguankeshi/jgkszngk.aspx?Dep=%e8%b4%a2%e5%8a%a1%e4%b8%ad%e5%bf%83"
target="_self">财务中心</A> | <A href="/ezgbds/ezgbdsw/ggzx/ggzx.aspx" target="_self">
广告中心</A> | <A href="/ezgbds/ezgbdsw/wlzx/wlzx.aspx" target="_self">网络中心</A>
| <A href="/ezgbds/ezgbdsw/jiguankeshi/jgkszngk.aspx?Dep=%e5%90%8e%e5%8b%a4%e4%b8%ad%e5%bf%83"
target="_self">后勤中心</A> | <A href="#" target="_self">广电集团</A> | <A href="/ezgbds/ezgbdsw/wlzx/wlzx.aspx" target="_self">广电传媒</A>
|
</TD>
</TR>
<TR>
<TD style="BORDER-TOP: #666666 1px solid" align="left" colSpan="2" height="25">
| <A href="#" target="_self">新闻频道</A> | <A href="#" target="_blank">公共频道</A>
| <A href="#">都市频道</A> | <A href="#" target="_blank">影视频道</A> |
<A href="#" target="_self">图文信息频道</A> |
<span style='COLOR:#ffff00'>目前总流量:
人次 </span>
</FONT></TD>
</TR>
<TR>
<TD bgColor="#393842" colSpan="2" height="5"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<TBODY>
<TR>
<TD width="780" height="13" background="/ezgbds/images/menubg.jpg"><FONT face="宋体"> </FONT>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
代码如下:你们可以直接测试
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="WebUserControl1.ascx.cs" Inherits="ezgbds.ezgbdsw.jxzx.jxzxUserControls.WebUserControl1" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%><TABLE cellSpacing="0" cellPadding="0" width="780" border="0">
<TBODY>
<TR>
<TD>
<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
height="185" width="780" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="20638">
<PARAM NAME="_cy" VALUE="4895">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="/ezgbds/images/Flash/index.swf">
<PARAM NAME="Src" VALUE="/ezgbds/images/Flash/index.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="-1">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="High">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="/ezgbds/images/Flash/index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="780" height="185"> </embed>
</OBJECT>
</TD>
</TR>
<TR>
<TD bgColor="#393842" height="2"></TD>
</TR>
<TR>
<TD>
<TABLE height="25" cellSpacing="0" cellPadding="0" width="780" bgColor="#8c8ead" border="0">
<TBODY>
<TR vAlign="middle" align="center">
<TD width="260" height="25"><IMG src="/ezgbds/images/e-mail.gif" border="0"></A></TD>
<TD vAlign="middle" width="70"><FONT face="宋体"> </FONT></TD>
<TD align="right" vAlign="middle"><A target="_self" href="http://ezrtv.bycn.net/ezgbdslt" style="COLOR: #ff0000; TEXT-DECORATION: none">广电论坛</A><span style='COLOR:#ffff00'>
建议使用分辨率<font face="宋体">:</font>1024 * 768</span></TD>
<TD vAlign="middle" width="50"><FONT face="宋体"> </FONT></TD>
</TR>
</FORM>
</TBODY>
</TABLE>
</TD>
</TR>
<TR>
<TD bgColor="#393842" height="2"></TD>
</TR>
<TR>
<TD id="belowheader">
<TABLE style="FONT-SIZE: 12px; COLOR: #ffffff" cellSpacing="0" cellPadding="0" width="780"
bgColor="#8a8fa8" border="0">
<TBODY>
<TR>
<TD align="left" colSpan="2" height="25"> | <A href="/ezgbds/index.aspx">首
页</A> | <A href="/ezgbds/ezgbdsw/ziliaowenjian/dsjjj.aspx" target="_self">
广电局简介</A> | <A href="/ezgbds/ezgbdsw/jujiguan/julingdao.aspx" target="_self">局(集团)领导</A>
| <A href="/ezgbds/ezgbdsw/jujiguan/jujiguan.aspx" target="_self">局机关(机构科室)</A>
| <A href="/ezgbds/ezgbdsw/jujiguan/jujiguan.aspx?ID=%e4%ba%ba%e6%89%8d%e6%8b%9b%e8%81%98"
target="_self">人才招聘</A> |
</TD>
</TR>
<TR>
<TD style="BORDER-TOP: #666666 1px solid" align="left" colSpan="2" height="25">
| <A href="/ezgbds/ezgbdsw/xwzx/xwzx.aspx" target="_self">新闻中心</A> |
<A href="/ezgbds/ezgbdsw/sjwyzx/sjwyzx.aspx" target="_self">社教文艺中心</A> | <A href="/ezgbds/ezgbdsw/gbdsb/gbdsb.aspx" target="_self">
广播电视报</A> | <A href="/ezgbds/ezgbdsw/jxzx/jxzx.aspx" target="_self">技术中心</A>
| <A href="/ezgbds/ezgbdsw/jiguankeshi/jgkszngk.aspx?Dep=%e8%b4%a2%e5%8a%a1%e4%b8%ad%e5%bf%83"
target="_self">财务中心</A> | <A href="/ezgbds/ezgbdsw/ggzx/ggzx.aspx" target="_self">
广告中心</A> | <A href="/ezgbds/ezgbdsw/wlzx/wlzx.aspx" target="_self">网络中心</A>
| <A href="/ezgbds/ezgbdsw/jiguankeshi/jgkszngk.aspx?Dep=%e5%90%8e%e5%8b%a4%e4%b8%ad%e5%bf%83"
target="_self">后勤中心</A> | <A href="#" target="_self">广电集团</A> | <A href="/ezgbds/ezgbdsw/wlzx/wlzx.aspx" target="_self">广电传媒</A>
|
</TD>
</TR>
<TR>
<TD style="BORDER-TOP: #666666 1px solid" align="left" colSpan="2" height="25">
| <A href="#" target="_self">新闻频道</A> | <A href="#" target="_blank">公共频道</A>
| <A href="#">都市频道</A> | <A href="#" target="_blank">影视频道</A> |
<A href="#" target="_self">图文信息频道</A> |
<span style='COLOR:#ffff00'>目前总流量:
人次 </span>
</FONT></TD>
</TR>
<TR>
<TD bgColor="#393842" colSpan="2" height="5"></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing="0" cellPadding="0" width="780" align="center" border="0">
<TBODY>
<TR>
<TD width="780" height="13" background="/ezgbds/images/menubg.jpg"><FONT face="宋体"> </FONT>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
解决方案 »
- asp.net 错误跳转
- pet shop 怎么配置啊? 为什么我装了数据库没用啊 新手用来学习的
- 请教一种带this的构造函数有什么作用?
- 数据库取数据时怎么才能只取前10列的值
- word viewer2003 如何得到classid
- ASP.NET: 如何弹出提示框?
- javascript或php中有没有函数可以记录点击的文本
- 菜鸟问题——路径传输问题
- 关于在.net下引用css样式表的问题!在线等,解决立刻给分!!
- 请高手指点!关于下拉框的问题?
- 狂晕中的一个问题,杂每次取DropDownList中Listitem的值都会是一个值了?我给50分,
- 将A页面的数据clientscript传给另一个页面,同时A页面关闭,我在clientscript时加入window.close();为什么A页面不会关闭呀。
网页本身就没有什么错误提示,提示是页面左下角出现“网页有错误这个提示”,然后按纽什么的单击没有反应(按纽本身有事件的),就象这个按纽没有点一样,页面闪都不闪
不相信你试一下,把这个控件放到你新建的页面中,再放一个按纽,反正我这就是这样了,好象最后生成的HTML代码中没有触发这个按纽的JS,不知道什么原因...........