惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

NISL@THU
NISL@THU
Latest news
Latest news
Scott Helme
Scott Helme
T
Tenable Blog
Simon Willison's Weblog
Simon Willison's Weblog
T
The Exploit Database - CXSecurity.com
C
CERT Recently Published Vulnerability Notes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 司徒正美
K
Kaspersky official blog
The Hacker News
The Hacker News
Jina AI
Jina AI
C
CXSECURITY Database RSS Feed - CXSecurity.com
C
Cisco Blogs
S
Secure Thoughts
雷峰网
雷峰网
Project Zero
Project Zero
T
Troy Hunt's Blog
IT之家
IT之家
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Know Your Adversary
Know Your Adversary
爱范儿
爱范儿
博客园 - 聂微东
N
News and Events Feed by Topic
The Cloudflare Blog
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Schneier on Security
Schneier on Security
Recent Announcements
Recent Announcements
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Vercel News
Vercel News
C
Check Point Blog
Cisco Talos Blog
Cisco Talos Blog
Apple Machine Learning Research
Apple Machine Learning Research
量子位
C
Cyber Attacks, Cyber Crime and Cyber Security
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
P
Palo Alto Networks Blog
云风的 BLOG
云风的 BLOG

博客园 - sunrack

LINQ to SQL语句之Group By/Having和Exists/In/Any/All/Contains ASPxPopupControl does not show up in the right place C++/CLI托管字符串与非托管char数组的转换 程序员从初级到中级10个秘诀 Get JavaScript IntelliSense With DevExpress Client-Side Objects - v2010 vol 1 Grid Editing - Cascading Combo Boxes - sunrack ASPxRadioButtonList 报错解决办法 - sunrack - 博客园 本地连接属性“出现意外错误”的解决办法 - sunrack - 博客园 Bootstrap DotNetFX35SP1 in Visual Studio 2010 Windows Server 2008 共享策略 XtraPivotGrid Custom Summaries 手动注册 DevExpress 8.2.3 控件到 Visual Studio 工具箱 sn.exe error "Failed to generate a strong name key pair -- The keyset is not defined" Thread Tools Rate Thread 浅析JavaScript中的showModalDialog的实战应用 javascript showModalDialog模态对话框使用说明 - sunrack - 博客园 entity framework 缓存干扰的数据不一致问题 Failed to load viewstate ? Typical problem, with an obvious solution. ViewState and Dynamic Control ASPxCombobox Features
ASPxGridView 和 AJAX Extensions ToolBox 不兼容
sunrack · 2010-05-09 · via 博客园 - sunrack

http://www.devexpress.com/Support/Center/p/Q91789.aspx

Created by Herbert Illedits at 2007/12/11 14:44:46
Attachment: WebApplication1.zip (211136 bytes)

When I create a page using the 'CallbackPanel' controll and into the CallbackPanel the MS AJAX Toolkit CollapsiblePanel Extender, I get the following error on Callback.

Extender control 'CollapsiblePanelExtender1' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors(). Parametername: extenderControl

Can you help me what's wrong?

Reviewed by DevExpress Team at 2007/12/12 8:49:53

Processed (Answered) by DevExpress Team at 2007/12/12 10:36:00

Hi Herbert,

The problem appears because the extender control should register its scripts within the Prerender event. When you call the PerformCallback method, the Callback event is generated, but the PreRender event is not generated in this case (this is one of the difference between a post back and call back). So, the problem appears.

Thanks,
Plato

Reactivated by Herbert Illedits at 2007/12/12 14:04:43

Hi Plato,

thank you for your answer, but I don't know what I have to do, to fix this problem. Have you some example for me how to handle this problem?

Thanks,
Herbert

Processed (Answered) by DevExpress Team at 2007/12/12 21:46:45

Hi Herbert,

To find a solution for your task ,we first need to know what you are trying to achieve. Please detail that, and we will try to help you.

Thanks,
Plato

Reactivated by Herbert Illedits at 2007/12/13 7:57:52

Hallo Plato,

I want to create a UserControl who includs the MS AJAX Toolkit CollapsiblePanel Extender, this works fine if i do not use it in a CallbackPanel. But at the time i use it into the CallbackPanel I get the error descriped above.

Herbert

Updated by DevExpress Team at 2007/12/17 22:51:49

Hi Herbert,

We are working on this question and will post a solution here once we find it. Please bear with us.

Thanks,
Plato

Processed (Answered) by DevExpress Team at 2007/12/28 14:56:51

Hi Herbert,

First, I apologize for the delay in responding. It took us some time to examine this problem.

However, as we found, extenders are incompatible with controls that update their content using the callback technology. As we stated previously, due to the extenders' specificity, they should be registered when both OnPreRender and OnRender events are processed. But, the OnPrerender isn't triggered when a control is updated via a callback. That's why the problem occurs.

A possible solution is to move the extender outside the CallbackPanel, so that it isn't updated when processing a callback. But, the extender will not be able to find its target control by the TargetControlID, because in this situation, they will be placed on different hierarchy levels. You'll have to write a custom ControlID resolver to process this situation (handle its ResolveControlID event). Another problem with this solution is that all custom client properties assigned to the control by the extender will be lost once the control is updated via a callback. It looks as if the only way to overcome this is to manually save/restore the required settings.

So, it appears that there is no easy way to resolve this incompatibility problem. We apologize for any inconvenience.

Thanks,
Vito