GetCallbackResult Method
Collapse the table of content
Expand the table of content

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
Available since 2.0
Return to top
© 2015 Microsoft