1
Vote

PartialUpdatePanel and CollapsiblePanelExtender

description

CollapsiblePanelExtender not worked. I recive js error (throwed exception):
Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'qwePanel_CollapsiblePanelExtender1' can't be added to the application.
 
function Sys$_Application$addComponent(component) {
    /// <summary locid="M:J#Sys.Application.addComponent" />
    /// <param name="component" type="Sys.Component"></param>
    var e = Function._validateParams(arguments, [
        {name: "component", type: Sys.Component}
    ]);
    if (e) throw e;
    var id = component.get_id();
    if (!id) throw Error.invalidOperation(Sys.Res.cantAddWithoutId);
ERROR HERE -->> if (typeof(this._components[id]) !== 'undefined') throw Error.invalidOperation(String.format(Sys.Res.appDuplicateComponent, id));
    this._components[id] = component;
}
 
 
this error reproduced only if used <LoadingTemplate>Loading...</LoadingTemplate>...
if operation executed very fast - no error. If slow and "loading... " showed, then i catch exception.
 
thanks..

comments