|Visual Studio version
all browsers supported by RadControls
RadSocialShare does not support Pinterest Pin It button out of the box.
However, the button can easily be add manually to the control through
main button of RadSocialShare is rendered as LI with class
“sshListItem” which is located in an UL with class “sshContent” and the
Pinterest button is rendered as anchor with an image inside of it. The
any images that can be Pinned. This function is obtained from Pinterest
function AddButton searches for the UL with class “sshListItem” and
adds a LI element to it which contains the Pinterest anchor and image.
The function also applies width to the RadSocialShare, so that the new
button fits in. The AddPinterestPin is the function that calls the AddButton function with the appropriate arguments - the first is the UL class of RadSocialShare and the second one is the HTML of the Pinterest button which is to be inserted. The AddPinterestPin function which inserts the Pin It Button is executed in the window.onload event.
The original version of the code is taken from the Extend RadSocialShare using RadSocialExtender.js addon blog post by Patrick Dunn.