More in this section

Forums / Developing with Sitefinity / Adding help to user control property

Adding help to user control property

3 posts, 0 answered
  1. IT
    IT avatar
    52 posts
    Registered:
    30 Sep 2008
    13 May 2009
    Link to this post
    I've created a new user control with a couple of properties and it works fine. What I would like to have is some help for my users similar to the built-in properties. For instance, there is the built-in ID (?) that allows you to get help by clicking on the question mark.  Can I add similar functionality to my new properties?

    Thanks!

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    13 May 2009
    Link to this post
    Hi Stormy,

    You can use description attribute as the example below demonstrates.

        private string test; 
     
        [Description("HERE IS MY DESC")] 
        public string Test 
        { 
            get 
            { 
                return this.test; 
            } 
            set 
            { 
              this.test = value; 
            } 
        } 

    I hope this helps.

    Sincerely yours,
    Ivan Dimitrov
    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.
  3. IT
    IT avatar
    52 posts
    Registered:
    30 Sep 2008
    13 May 2009
    Link to this post
    That worked great - thanks!
Register for webinar
3 posts, 0 answered