[Mono-list] ASP .NET AJAX Framework

Jens Wurster jw at zaubercenter.de
Mon Jul 30 04:37:38 EDT 2007


Hello,

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 - http://192.168.0.4/
Inline script compilation
Syntax error while loading: line 233 of linked script at
http://192.168.0.4/ScriptResource.axd?a=AjaxControlToolkit%2c+Version%3d1.0.
10618.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e;r=AjaxCont
rolToolkit.ExtenderBase.BaseScripts.js;t=633195602000000000;n=t : 
};

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

  Line 5 of linked script
http://192.168.0.4/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1
.0.61025.0%2c+Culture%3dneutral;r=MicrosoftAjax.js;t=633195601990000000;n=f
    var a = g ? new h(g) : new h(), b = Sys.Application, i =
b.get_isCreatingComponents();
a.beginUpdate();
if (f)
    if (d)
    b._createdComponents[b._createdComponents.length] = a;
if (a.get_id())
    if (i)
    else
    return a;

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

  Line 5 of linked script
http://192.168.0.4/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1
.0.61025.0%2c+Culture%3dneutral;r=MicrosoftAjax.js;t=633195601990000000;n=f
    for (var b = 0, e = a.length;b < e;b++)

      Line 5 of linked script
http://192.168.0.4/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1
.0.61025.0%2c+Culture%3dneutral;r=MicrosoftAjax.js;t=633195601990000000;n=f
    Sys._Application.callBaseMethod(this, "initialize");
var a = this.get_events().getHandler("init");
if (a)
    this.raiseLoad();
this._initializing = false;

  Line 5 of linked script
http://192.168.0.4/ScriptResource.axd?a=System.Web.Extensions%2c+Version%3d1
.0.61025.0%2c+Culture%3dneutral;r=MicrosoftAjax.js;t=633195601990000000;n=f
    return b.apply(a, arguments);
  At unknown location
    [statement source code not available]

Regards
Jens



More information about the Mono-list mailing list