asp.net中的脚本管理器 [英] Script Manager in asp.net

查看:76
本文介绍了asp.net中的脚本管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在创建网站,因为我拥有三个母版页,并且还使用了ajax控件和telerik控件.现在我有了一个pblm,我想在母版页和内容页中都定义scriptmanager知道...

Hi all, i am creating the website in that i am having three master pages and also am using ajax controls and telerik controls now i had a pblm i want to define the scriptmanager in both master and content pages what i have to do know ...

推荐答案


RadScriptManager ScriptManager可能都相同.
在所有三个母版页中均输入RadScriptManager .如果需要,请在内容页面中使用RadScriptManagerProxy .

例如,如果您的母版中包含脚本管理器,它将遍历所有页面,但是您希望在基础页面或用户控件中引用脚本管理器.在那种情况下,您可以添加多个代理.如果您添加了另一个脚本管理器,则会在页面上收到错误消息

--Amit
Hi,
RadScriptManager and ScriptManager both are probably same.
Take RadScriptManager in all three master pages. And if required then take RadScriptManagerProxy in content pages.

If you have the script manager in your master for instance which will go across all pages but you want a script manager reference in an underlying page or user control. In that instance you can add multiple proxies. If you added another script manager then you''ll get the error on the page

--Amit


这篇关于asp.net中的脚本管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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