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

Forums / Developing with Sitefinity / Need file that's missing from Documentation

Need file that's missing from Documentation

2 posts, 0 answered
  1. BobTabor
    BobTabor avatar
    17 posts
    Registered:
    12 Dec 2007
    02 Apr 2010
    Link to this post
    Hi,

    I was following along this example:

    http://www.sitefinity.com/help/developer-manual/control-adding-controls-designers.html

    And at the very bottom it references this file:

    UserControls_LinksList7.zip

    !!!HOWEVER!!!  That file is NOT CORRECT.  It is the same file as UserControls_LinksList6.zip. 

    Most importantly from that example I need the code that demonstrates the implementation of the ILinksList interface that is mentioned (please search) but never displayed in the page, nor is it in the UserControls_LinksList7.zip.

    Thank you,
    Bob Tabor
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    02 Apr 2010
    Link to this post
    Hi BobTabor,

    Below is the implementation of the interface

    using System.Web.UI.WebControls;
    using System.Collections.Generic;
     
    /// <summary>
    /// This interface defines members each implementation of LinkList control must implement
    /// </summary>
    public interface ILinksList
    {
        /// <summary>
        /// Gets or sets the title of the control
        /// </summary>
        string ControlTitle { get; set; }
         
        /// <summary>
        /// Gets or sets the target of links (where will links open)
        /// </summary>
        string LinkTarget { get; set; }
         
        /// <summary>
        /// Gets reference to the BulletedList control which is a child of LinkList control
        /// </summary>
        BulletedList LinksBulletedList { get; }
     
        /// <summary>
        /// Gets or sets the dictionary of link titles and urls displayed by the LinkList control
        /// </summary>
        Dictionary<string, string> ListLinks { get; set; }
     
        /// <summary>
        /// Gets or sets the hex color of the links
        /// </summary>
        string LinkColor { get; set; }
    }


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