More in this section

Forums / Bugs & Issues / API-Referenz wrong return value

API-Referenz wrong return value

2 posts, 0 answered
  1. DPC David
    DPC David avatar
    26 posts
    28 Dec 2009
    13 May 2010
    Link to this post

    i didn't know where to put this post, so sorry if it is not in the correct thread. I think there is a little Bug in the API-Referenz:

    The return value is mentioned as Telerik.Newsletter.IGroup but it is Telerik.Newsletter.IGroupSubscriber. I noticed this while codeing this...

    DataManager oNLManager = new DataManager();
    Guid oGroupID = new Guid(sGruppenID);
    IList liSubscriberGroups = oNLManager.GetSubscriberGroupsOfSubscriber(oSubscriber.Email);
      foreach (IGroupSubscriber  oGroup in liSubscriberGroups)
          if (oGroup.GroupId == oGroupID)
              oNLManager.DeleteGroupSubscriberRelation(oGroupID, oSubscriber.SubscriberId);   

    Hope it helps supporting this great forum

    Regards David        
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    13 May 2010
    Link to this post
    Hello DPC David,

    Yes, this is not correct the items are of type IGroupSubscriber. Here is a post where another user had similar problem. We are in process of migration the old manual to a new one and the API reference will be updated.

    Sincerely yours,
    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.
2 posts, 0 answered