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

推荐订阅源

Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The GitHub Blog
The GitHub Blog
B
Blog
小众软件
小众软件
Jina AI
Jina AI
WordPress大学
WordPress大学
V
V2EX
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
P
Proofpoint News Feed
Y
Y Combinator Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
人人都是产品经理
人人都是产品经理
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
C
CERT Recently Published Vulnerability Notes
C
Cisco Blogs
Project Zero
Project Zero
云风的 BLOG
云风的 BLOG
K
Kaspersky official blog
Google DeepMind News
Google DeepMind News
宝玉的分享
宝玉的分享
T
Threat Research - Cisco Blogs
S
Securelist
V
Vulnerabilities – Threatpost
雷峰网
雷峰网
F
Fortinet All Blogs
D
DataBreaches.Net
I
Intezer
D
Docker
The Hacker News
The Hacker News
The Last Watchdog
The Last Watchdog
SecWiki News
SecWiki News
MyScale Blog
MyScale Blog
腾讯CDC
博客园_首页
Martin Fowler
Martin Fowler
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Help Net Security
GbyAI
GbyAI
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
L
Lohrmann on Cybersecurity
I
InfoQ
H
Hacker News: Front Page
T
Threatpost
Stack Overflow Blog
Stack Overflow Blog
博客园 - 叶小钗
T
Troy Hunt's Blog
Microsoft Security Blog
Microsoft Security 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