More in this section

Forums / Developing with Sitefinity / WebControl.GroupSelectionList on button click?

WebControl.GroupSelectionList on button click?

6 posts, 0 answered
  1. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    13 Aug 2009
    Link to this post
    How do i open the newsletter subscriber groups (WebControl.GroupSelectionList) dialog on a button click event and populate the list to the textbox control?

    All the examples i have found are for properties for custom controls. I want to open it on button click in a tool module i am building...

    Thanks,

    Duncan
  2. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    13 Aug 2009
    Link to this post
    Anyone?

    I did find this: http://www.sitefinity.com/support/forums/sitefinity-3-x/developing-with-sitefinity/implementing-image-selector-control.aspx But i need this sort of functionality with the Subscriber Group dialog (Sitefinity\Admin\ControlTemplates\NotificationsGroupSelectionListTemplate.ascx)

    This is really bugging me... Any help would be great!

    Duncan
  3. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    01 Jun 2017
    14 Aug 2009
    Link to this post
    Hello Duncan Evans,

    I have attached an aspx page called GroupSubsList and one page called GroupDialog.
    Basically when you click SubsGroup button from GroupSubsList the GroupDialog will appear in RadWindow. In order to show the list of all groups I used Telerik.Notifications.Newsletters.WebControl.GroupSelectionList() control inside the GroupDialog page.
    When you check on some group and click Select this group name should appear in the text box.

    Hope this helps.

    Regards,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the newTelerik Support Portal.
    Check out the tipsfor optimizing your support resource searches.
  4. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    14 Aug 2009
    Link to this post
    Ok, this is great but i am trying to figure out where it gets the value to put in the textbox. I need it to either retune the Guid[] or strings of each guid selected.

    How would i got about doing this?

    Duncan
  5. Duncan Evans
    Duncan Evans avatar
    122 posts
    Registered:
    07 Jul 2009
    14 Aug 2009
    Link to this post
    And i need these returned values to be available in codebehind on the server side, not client side.
  6. Nikolai
    Nikolai avatar
    216 posts
    Registered:
    01 Jun 2017
    17 Aug 2009
    Link to this post
    Hi Duncan Evans,

    I made the necessary changes to the example.(attached new zip)
    The GroupSelectionList is based on the Telerik.Notifications.DataManager class.
    This class is used to manage Subscribers, Groups and the relation between them.

    Greetings,
    Nikolai
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
6 posts, 0 answered