日期:2014-05-20  浏览次数:20707 次

关于C#调用JS出现的问题
%@   Page   Language= "C# "   AutoEventWireup= "false "     CodeFile= "Default.aspx.cs "   Inherits= "Default_aspx "   %>


<%@   Register   Assembly= "CrystalDecisions.Web,   Version=10.2.3600.0,   Culture=neutral,   PublicKeyToken=692fbea5521e1304 "
        Namespace= "CrystalDecisions.Web "   TagPrefix= "CR "   %>

<html   xmlns= "http://www.w3.org/1999/xhtml "   >
 
<head   runat= "server ">
      <script   src= "../DTPicker.js "   type= "text/javascript "   language= "javascript "   charset= "gb2312 "> </script>

        <title> 车间报表中心 </title>
        <link   href= "/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css "
                rel= "stylesheet "   type= "text/css "   />
               
</head>

<body   style= "font-size:   12pt ">
        <form   id= "form1 "   runat= "server ">
              <input   type= "text "   name= "date "   ondblclick= "new   DateControl20(this) "/>  
                  <br   />
                <br   />
                &nbsp;
        </form>
</body>
</html>


------解决方案--------------------
把new 去掉 试试
------解决方案--------------------
接分就是真支持