Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/30.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
导致错误的jQuery日期选择器_Jquery_Asp.net_Jquery Plugins_User Controls_Jquery Ui Datepicker - Fatal编程技术网

导致错误的jQuery日期选择器

导致错误的jQuery日期选择器,jquery,asp.net,jquery-plugins,user-controls,jquery-ui-datepicker,Jquery,Asp.net,Jquery Plugins,User Controls,Jquery Ui Datepicker,我正在为datepick()使用jQuery插件 $(函数(){ $(.mydatepicker”).datepick({dateFormat:'dd/mm/yyyy'}); }); 并不断遇到这个问题: <script type="text/javascript"> //<![CDATA[ if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed

我正在为datepick()使用jQuery插件


$(函数(){
$(.mydatepicker”).datepick({dateFormat:'dd/mm/yyyy'});
});
并不断遇到这个问题:

<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

//
当我试图从该页面导出CSV文件中的一些数据时

有什么想法吗


我从搜索中尝试了许多解决方案(例如,在web.config中更新),但没有任何效果。

客户端的
Sys
asp:ScriptManager
的一部分


因此,在使用Sys删除错误之前,请包含
asp:ScriptManager

我不明白您为什么要使用这个

<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') 
        throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

//
在应用程序中使用
scriptmanager
时使用此选项
您是否在网页中使用
更新面板

如果没有,请拆下管路

脚本管理器详细信息

我的datepicker函数之前确实有一个asp:ScriptManager。我不知道我从哪里得到系统,因为它只出现在错误中,而不出现在我的实际.aspx页面中?
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') 
        throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>