为什么我的Ajax日历延展剂在我的网站上不起作用 [英] Why my ajax calender extender have not work in my website

查看:72
本文介绍了为什么我的Ajax日历延展剂在我的网站上不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我已经尝试了很多方法来解决此解决方案,但是我的Ajax日历无法正常工作?当我创建一个新网站时,ajax压延机可以工作并出现在网站中,但我的网站中却没有出现.这是因为weconfig问题或CSS问题?我不知道如何解决它

Hello, i have trying a lot of ways to solve this solution but my ajax calender does not work? When i create a new website, the ajax calender can work and appear in the website BUT in my website does not appear. It is because of weconfig problem or css problem???i does not have any idea to settle it down

推荐答案

将其放在所有控件的顶部,紧随其后表单标签开始:
Put this at the top of all controls, just after form tag starts:
<asp:ScriptManager ID="ScriptManager1" runat="server">


而且,将您的CalendarExtender放入UpdatePanel中.


关于标签前缀:其中没有问题.它只是页面顶部定义的别名.此处:


And also, put your CalendarExtender inside UpdatePanel.


About tag prefix: There is no issue in it. It''s just an alias defined at the top of the page itself. Here:

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


无论您在此处定义什么别名,它都可以正常工作.


Whatever alias you define here, it works accordingly.


这篇关于为什么我的Ajax日历延展剂在我的网站上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆