Client-side Events Overview
The RadSocialShare control offers many client-side events that you can use together with its client-side API to control its behavior. These events are set through a number of properties whose value is the name of a JavaScript function that executes when the specific client-side event occurs. The available events are are listed below.
When the JavaScript function is called, it is supplied with two arguments: the sender (i.e., the RadSocialShare instance that fired the event), and an event arguments object (which may or may not contain methods, depending on the event).
OnFacebookLike - fires when the Facebook Like standard button is clicked.
OnFacebookSend - fires when the Facebook Send standard button is clicked.
OnFacebookUnLike - fires when the Facebook UnLike standard button is clicked.
OnGooglePlusOneOff - fires when the GooglePlus standard button is clicked for disapproval.
OnGooglePlusOneOn - fires when the GooglePlus standard button is clicked for approval.
OnLinkedInShare - fires when the LinkedIn standard button is clicked.
OnSocialButtonClicked - fires when one of the RadSocialButtons (styled button) is clicked. The event is subsequent to the OnSocialButtonClicking event and it cannot be canceled.
OnSocialButtonClicking - fires when one of the RadSocialButtons (styled button) is clicked. The event is raised before the OnSocialButtonClicked event and it can be canceled.
OnTweet - fires when the tweet is posted.