コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }