AjaxMethodCallback.ClientProxyTargetType

A type that is used to generate the Client Proxy Javascript class that gets injected into the page with matching methods.

This property defaults to the current Page's type, but you can override it to any object's type that matches your TargetInstance.

You can pass null to indicate you don't want to generate a proxy and instead call Proxy.callMethod explicitly which is a little more light weight in terms of processing and Javascript generation.

public Type ClientProxyTargetType { get; set; }

See also:

Class AjaxMethodCallback

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic