System.Web.UI.ICallbackEventHandler.GetCallbackResult Method

Returns the results of a callback event that targets a control.

Syntax

public string GetCallbackResult ()

Returns

The result of the callback.

Remarks

Exceptions thrown in ICallbackEventHandler.RaiseCallbackEvent(string) will not prevent ICallbackEventHandler.GetCallbackResult from being called and returning a result. To prevent ICallbackEventHandler.GetCallbackResult from returning a result, set a flag when an exception is thrown in ICallbackEventHandler.RaiseCallbackEvent(string) and return an empty string from ICallbackEventHandler.GetCallbackResult.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0