[CLOSED] ItemID & Builder

  1. #1

    [CLOSED] ItemID & Builder

    Why isn't the ItemID baked into the Builder classes?
    Last edited by geoffrey.mcgill; Aug 26, 2011 at 9:19 PM. Reason: [CLOSED]
  2. #2
    Fixed. See commit #3696

    The XControlBuilder class is manually updated and it appears the .ItemID property/method was missed.

    Added the following to XControlBuilder.cs

    /// <summary>/// An itemId can be used as an alternative way to get a reference to a component when no object reference is available.
    /// </summary>
    /// <param name="itemId">The ItemID to assign to the Component.</param>
    /// <returns>ControlBuilder</returns>
    public virtual TBuilder ItemID(string itemId)
    {
        this.ToComponent().ItemID = itemId;
        return this as TBuilder;
    }
    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Thanks for the prompt response!

Similar Threads

  1. Replies: 8
    Last Post: Aug 13, 2012, 11:47 PM
  2. [CLOSED] Problems with ItemID of Tabstrip after update from SVN
    By klaus.schwarz in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 12, 2010, 3:21 PM

Posting Permissions