OnSocialButtonClicking
OnSocialButtonClicking - fires when one of the RadSocialButtons is clicked. The event is raised before the OnSocialButtonClicked event and it can be canceled.
The event handler receives two parameters:
-
sender - the RadSocialShare instance that fired the event.
-
eventArgs - event arguments that expose the following methods:
-
get_cancel() - returns a bool value that indicates whether the event will be canceled. True means the event is canceled.
-
set_cancel(shouldCancel) - sets a bool value that indicates whether the event will be canceled. Setting true means the event will be canceled.
-
get_socialNetType() - returns the type of the clicked RadSocialButton.
-
get_url() - returns the shared URL.
-
set_stringsToShare(url, title) - changes the strings that will be shared - URL and Title. If any of them is omitted the old value is not changed.
-