62,046
社区成员
发帖
与我相关
我的任务
分享
<asp:button id="btncopy" runat="server" class="iconrefer" Visible = '<%# Convert.ToInt32(Eval("Status"))==(int)kkkk.gggggg.SysClasslib.enumTemplateStatus.New?false:true%>' title="复制" OnClientClick='javascript:window.open( "PTopy.aspx?ID=<%#Eval("TemplateID")%>","","height=700, width=1000,left="+(screen.availWidth-1000)/2+",top="+(screen.availHeight-700)/2+",status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes")' />
OnClientClick='javascript:window.open( "PTopy.aspx?ID=<%#Eval("TemplateID")%>","","height=700, width=1000,left="+(screen.availWidth-1000)/2+",top="+(screen.availHeight-700)/2+",status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes")'
原理使用 双引号 里面用单引号 ,服务器提示标识错误, 改为 外单 内双了。