New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnClientItemsRequestFailed

The OnClientItemsRequestFailed is fired when the request to the web service is failed.The event arguments provide information about the error message and allow the developer to cancel the error alert and process the error otherwise.

The event handler receives two arguments:

  • Sender–the TagCould object that fired the event.

  • Event arguments–event arguments object of type Telerik.Web.UI.RadTagCloudErrorEventArgs, that exposes the following properties and methods:

Name Parameters Return Type Description
get_errorMessage String Returns the error message that describes the specific problem.
get_cancelErrorAlert Bool Returns a boolean value that indicates whether the error message will be displayed. True means the message will not be shown.
et_cancelErrorAlert bool Sets a boolean value that indicates whether the error message will be displayed. Setting true means the message will not be shown.

In the TagCloud's Web Service online example you can examine how this event can be used.

See Also

In this article