nikhilk/scriptsharp — Issue #148: Function.createDelegate ?
Author: dmcweeney
Created: 2012-02-22 17:45:49+00:00
State: open

Hi,

Is it possible to generate the following code besides using Script.Literal?

var fn = Function.createDelegate(this, function( p0, p1) {
doRemoval("theid");
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest( fn ) ;

I've an import library build for the PageRequestManager - just cannot get the Function.createDelegate?

I did find somewhere that DomEventHandler may cover this but cannot find that anymore.

Thanks

Donal