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

Forums / Bugs & Issues / Custom Property Selector

Custom Property Selector

3 posts, 0 answered
  1. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    14 Sep 2010
    Link to this post
    Hi,

    I have created a control that displays all users that are in a certain role.

    At the moment I need to type the name of the role.

    [DisplayName("role")]
        [Category("Misc")]
          
        public string Role
        {
            get { return this.role; }
            set { this.role= value; }
        }

    Is there anyway I could select from a drop down list with the available roles.

    Thanks
    Kieran



  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    14 Sep 2010
    Link to this post
    Hello Kieran,

    You can take a look at Roles Selector and hiding control based on user's roles post that shows how to implement such selector.

    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
  3. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    14 Sep 2010
    Link to this post
    Excellent stuff, was about to work with that.
    Thanks
    Kieran
Register for webinar
3 posts, 0 answered