Export (0) Print
Expand All

ICallbackEventHandler.GetCallbackResult Method

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

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

string GetCallbackResult()

Return Value

Type: System.String
The result of the callback.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft