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

Forums / General Discussions / Showing Newsletters content

Showing Newsletters content

4 posts, 0 answered
  1. siby
    siby avatar
    48 posts
    Registered:
    21 Feb 2009
    18 Aug 2010
    Link to this post
    Hi,

    please show me a code so that can list the title and content of "news letter" using a user control  in a page
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    18 Aug 2010
    Link to this post
    Hello siby,

    Below is a sample code that illustrates how to get the Subject ( there is no Title) and Content of a given newsletter

    // create instance of Telerik.Notifications.Newsletters.DataManager
    DataManager manager = new DataManager();
    // get the first newsletter
    var allLetters = manager.GetNewsletters();
    // cast it to INewsletter
    INewsletter letter = (INewsletter)allLetters[0];
    // get content and subject
    var content = letter.Content;
    var subject = letter.Subject;


    All the best,
    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
  3. Neil
    Neil avatar
    82 posts
    Registered:
    21 Oct 2006
    18 Aug 2010
    Link to this post
    Is the newsletter module hidden in the API or is this a 3.7 request as there doesnt seem to be a newsletter implementation for version 4 beta accessible through the UI.

    Best Regards,

    Neil
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    18 Aug 2010
    Link to this post
    Hello nenwmn,

    The post is for 3.7, 4.0 edition does not have newsletters module.

    Greetings,
    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
Register for webinar
4 posts, 0 answered