protected void HandleCallback() { if (TargetInstance == null) { TargetInstance = Page; } // Delegate off handling to the Callback Processor // which handles routing and calling the method and returning // a JSON response ICallbackMethodProcessor processor = new JsonCallbackMethodProcessor(); processor.JsonDateEncoding = JsonDateEncoding; // Let the Processor do all the work of parsing parms, calling and returning result processor.ProcessCallbackMethodCall(TargetInstance); }
protected void HandleCallback() { if (TargetInstance == null) TargetInstance = Page; // Delegate off handling to the Callback Processor // which handles routing and calling the method and returning // a JSON response ICallbackMethodProcessor processor = new JsonCallbackMethodProcessor(); processor.JsonDateEncoding = JsonDateEncoding; // Let the Processor do all the work of parsing parms, calling and returning result processor.ProcessCallbackMethodCall(TargetInstance); }