+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Interact newsletter admin side unsubscribe

Interact newsletter admin side unsubscribe

3 posts, 1 answered
  1. Min
    Min avatar
    10 posts
    Registered:
    21 Dec 2010
    13 Jan 2011
    Link to this post
    Hi,

    I would like to know how to interact with the newsletter admin side unsubscribe function.  Actually I would like to attach one more action to it. 

    Currently I am trying to link that newsletter module with my custom contact module.  Changing the newsletter subscription status from contact custom module is OK.  But I am stuck at changing the status of contact custom module from newsletter module (When user click on the unsubscribe link of newsletter module admin side, status from contact module also need to change to unsubscribe).

    I know I need to interact with unsubscribe function from newsletter module but I do not know how to.
    Could you please help?

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    13 Jan 2011
    Link to this post
    Hi Min,

    Inside Sitefinity/Admin/ControlTemplates/Notifications/SubscribersTemplate.ascx you can access ButtonField from the GridView. The ButtonField has a CommnadName "Unsubscribe". You can use this command name to check when the the button is clicked and make some modifications to your custom module.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Min
    Min avatar
    10 posts
    Registered:
    21 Dec 2010
    14 Jan 2011
    Link to this post
    Thank you for that Ivan :)
Register for webinar
3 posts, 1 answered