为什么ajaxtoolkit modalpopupextender在我的项目中不起作用 [英] why ajaxtoolkit modalpopupextender is not work in my project

查看:68
本文介绍了为什么ajaxtoolkit modalpopupextender在我的项目中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么ajaxtoolkit modalpopupextender在我的项目中不起作用?这是在另一个项目中工作但在我的项目中不起作用

并且发生异常(只有一个ScriptManager实例可以添加到页面中。当我删除scriptmanager时,这很好,但不起作用。请帮我。请给我一个方法来解决这个问题。谢谢。

Why ajaxtoolkit modalpopupextender is not work in my project?This is work in another project but not work in my project
and exception occur (Only one instance of a ScriptManager can be added to the page.).When I remove scriptmanager,that is fine but is not work.Help me.Please give me a way to solve this.Thanks for all.

推荐答案

Quote:

只能将一个ScriptManager实例添加到页面中。

Only one instance of a ScriptManager can be added to the page.



当你出现这个错误在页面中有多个 ScriptManager / ToolkitScriptManager ,或者它被添加到母版页中,其继承的页面还包含 ScriptManager / ToolkitScriptManager



你必须在一个页面中只使用一个 ScriptManager / ToolkitScriptManager 。如果主页包含一个 ScriptManager / ToolkitScriptManager 在其继承的页面中不需要另一个




This error occurs when you have more than one ScriptManager/ToolkitScriptManager in a page or it is added in the masterpage and its inherited page also contains a ScriptManager/ToolkitScriptManager .

You have to use only one ScriptManager/ToolkitScriptManager in a page.If the Masterpage contains a ScriptManager/ToolkitScriptManager there is no need for another one in its inherited page

Quote:

当我删除scriptmanager时,这很好但是不起作用

When I remove scriptmanager,that is fine but is not work



可能的事情是Popup不包含任何data.use调试器来查找数据是否绑定


Possible thing is Popup doesn't contains any data.use debugger to find whether the data is binding or not


这篇关于为什么ajaxtoolkit modalpopupextender在我的项目中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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