Client side access from RadRotator

3 posts, 1 answers
  1. Alin
    Alin avatar
    26 posts
    Member since:
    Mar 2011

    Posted 02 Jan 2012 Link to this post

    Hello,

    I have a scenario in which is necessary to set the url for social share control via client side! It's about a RadRotator which shows images ( I got the example from the demo section with ImageGallery) and since the rotator has client side events when changing item, I would like to set the url for the social share control on the OnClientItemShown event of the rotator control. Is this possible? Thx a lot. 
  2. Answer
    Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 03 Jan 2012 Link to this post

    Hi,

     
    I already answered your other thread and for your convenience and for others who might need the same information, I pasted my reply below:

    The social share control is a new one and we were recently contacted for the first time with a request for dynamic client-side change of the url and we already had other tasks with higher priorities set. That is why the functionality you ask about is in our TODO list and it will be most probably implemented for the Q1 release which is scheduled for the middle of February.

    Kind regards,
    Svetlina Anati
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 10 Jan 2012 Link to this post

    Hello Alin,

     
    Hello Amar,

    I am glad to inform you that we implemented the ability to change the url and title which are shared on the client and this is now being tested. The feature will be available in the upcoming Q1 release which is scheduled for the middle of February.

    The functionality which we implemented is the following one:

    1) You can use a client-side set_stringsToShare(url, title) method for the social share client object (both the parameters are optional and if null provided, the old setting will be kept). By using this method, the url/title are changed for all buttons in the corresponding social share and changes are immediately applied (even for counters for third party buttons).

    2) For custom buttons (all but third party) you can similarly use the args.set_stringsToShare(url, title) method in the OnClientClicking event.

    I hope that the provided information is detailed enough and helpful, in case you have any comments or recommendations, we I will be happy to hear them!

    All the best,
    Svetlina Anati
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top