[Mono-list] ASP .NET AJAX Framework

Jens Wurster jw at zaubercenter.de
Wed Aug 1 12:11:20 EDT 2007


I found the reason for the JavaScript error (see my last mail). 

This is a short piece of the JavaScript file where the error is located. IE
and Opera don't like
the comma at the end of line 9. I am not sure if mono add this sort of code
to the JavaScript file.

Maybe there is a bug in a ScriptHandler- Manager or something else.  

", Sys.UI.Control);
2 AjaxControlToolkit.Resources={
3 "Common_InvalidPaddingUnit":"A unit type of \"{0}\" is invalid for
4 .
5 .
6 .
7 "ExtenderBase_CannotSetClientStateField":"clientStateField can only be set
before initialization",
n could not find an Animation  
  corresponding to the name \"{0}\"",
9 "ExtenderBase_ControlNotRegisteredForCallbacks":"This Control has not been
registered for callbacks",
10 };

Sorry, if this is now the wrong mailing list. =)




thanks for this update Miguel. 

I have compiled the assembly successful. The first error does
not occur anymore. I think it was my fault, because I was wondering
that this assembly was not compiled, so I used the assembly 
delivered by Microsoft. 

Now I have another problem. I am using the "AJAX Control Toolkit" to
check if everything working fine. I know that this toolkit is not
part of the mono project.

Firefox displays all correct, but other browsers like IE and Opera
put JavaScript errors.

Here is the output of the Opera error console: 
JavaScript -
Inline script compilation
Syntax error while loading: line 233 of linked script at
rolToolkit.ExtenderBase.BaseScripts.js;t=633195602000000000;n=t : 

JavaScript -
Timeout thread: delay 0 ms
name: TypeError
message: Statement on line 5: Type mismatch (usually a non-object value used
where an object is required)

  Line 5 of linked script
    var a = g ? new h(g) : new h(), b = Sys.Application, i =
if (f)
    if (d)
    b._createdComponents[b._createdComponents.length] = a;
if (a.get_id())
    if (i)
    return a;

  Line 5 of inline#5 script in
    $create(AjaxControlToolkit.AccordionBehavior, {ClientStateFieldID :
"Accordion1_AccordionExtender_ClientState", id :
"Accordion1_AccordionExtender"}, null, null, $get("Accordion1"));

  Line 5 of linked script
    for (var b = 0, e = a.length;b < e;b++)

      Line 5 of linked script
    Sys._Application.callBaseMethod(this, "initialize");
var a = this.get_events().getHandler("init");
if (a)
this._initializing = false;

  Line 5 of linked script
    return b.apply(a, arguments);
  At unknown location
    [statement source code not available]


Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list