<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>spribbon Discussions Rss Feed</title><link>http://spribbon.codeplex.com/discussions</link><description>spribbon Discussions Rss Description</description><item><title>New Post: MRUSplitButton, TextBox and DropDown not working in CustomGroup</title><link>http://spribbon.codeplex.com/discussions/441651</link><description>&lt;div style="line-height: normal;"&gt;Hi jho,&lt;br /&gt;
&lt;br /&gt;
Thanks for your feedback, I appreciate this :)&lt;br /&gt;
&lt;br /&gt;
It's hard to say what's wrong in your case, unless you provide some code to chew on.&lt;br /&gt;
&lt;br /&gt;
First things first, TextBox and DropDown can't be used with Simple template, since these are controls that have fixed size. I think I have this mentioned somewhere in documentation or in intellisense, but maybe I need to emphasize this fact, because you're not the first who stumbles on it. So you have to either create a custom template yourself or use ThreeRow.&lt;br /&gt;
&lt;br /&gt;
Also it's not quite clear what you mean by &amp;quot;putting controls into the collection and binding them per location&amp;quot;. Really, the code fragment would be of much help.&lt;br /&gt;
&lt;br /&gt;
Best,&lt;br /&gt;
Andrei&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Fri, 26 Apr 2013 10:18:01 GMT</pubDate><guid isPermaLink="false">New Post: MRUSplitButton, TextBox and DropDown not working in CustomGroup 20130426101801A</guid></item><item><title>New Post: MRUSplitButton, TextBox and DropDown not working in CustomGroup</title><link>http://spribbon.codeplex.com/discussions/441651</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I want to use MRUSplitButton, TextBox, DropDown and SplitButton in a custom group. Only the SplitButton and the usual Button works. The others aren't displayed in a custom group. As I bind them to a native group, e.g. Ribbon.ListItem.Manage, it's working. But not in mine.&lt;br /&gt;
&lt;br /&gt;
I've tried the simple and the three row templates. I tried to bind it via object model (putting the controls into the collection) and binding them per location.&lt;br /&gt;
&lt;br /&gt;
What did I miss? Thank you for your great job!&lt;br /&gt;
&lt;/div&gt;</description><author>jho</author><pubDate>Fri, 26 Apr 2013 09:34:51 GMT</pubDate><guid isPermaLink="false">New Post: MRUSplitButton, TextBox and DropDown not working in CustomGroup 20130426093451A</guid></item><item><title>New Post: SharePoint 2013 support</title><link>http://spribbon.codeplex.com/discussions/441042</link><description>&lt;div style="line-height: normal;"&gt;Hello. &lt;br /&gt;
Is SharePoint 2013 support planned for this library ? If yes is there work in progress ? Our team would like to support this project. &lt;br /&gt;
&lt;/div&gt;</description><author>tigrantopchyan</author><pubDate>Sun, 21 Apr 2013 08:33:19 GMT</pubDate><guid isPermaLink="false">New Post: SharePoint 2013 support 20130421083319A</guid></item><item><title>New Post: Get the resulting XML </title><link>http://spribbon.codeplex.com/discussions/432734</link><description>&lt;div style="line-height: normal;"&gt;There is no straight way to do it.&lt;br /&gt;
Though I can think of the following workaround:&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Create RibbonCustomAction and deploy it, say, to a web.&lt;/li&gt;
&lt;li&gt;
Open up powershell and run the following script:&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;$w = get-spweb http://path-to-your-site
$w.UserCustomActions | Format-List &amp;gt; c:\temp\usercustomactions.txt&lt;/code&gt;&lt;/pre&gt;

After that you can open this file in Notepad and copy the XML out of there.&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Thu, 14 Feb 2013 20:56:08 GMT</pubDate><guid isPermaLink="false">New Post: Get the resulting XML  20130214085608P</guid></item><item><title>New Post: Some Ribbon Templates</title><link>http://spribbon.codeplex.com/discussions/347747</link><description>&lt;div style="line-height: normal;"&gt;Hi.&lt;br /&gt;
&lt;br /&gt;
I think you need to add something like...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 public static GroupTemplateDefinition[] AllTemplates&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;    {
        get
        {
            return new GroupTemplateDefinition[]
            {
                SimpleTemplate,
                ThreeRowTemplate,
                ##YourTemplateName##           
          };
        }
    }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>prg12</author><pubDate>Thu, 14 Feb 2013 14:45:40 GMT</pubDate><guid isPermaLink="false">New Post: Some Ribbon Templates 20130214024540P</guid></item><item><title>New Post: Get the resulting XML </title><link>http://spribbon.codeplex.com/discussions/432734</link><description>&lt;div style="line-height: normal;"&gt;Hi again,&lt;br /&gt;
&lt;br /&gt;
How can I get the whole XML code generated by the FluentRibbon API in my SharePoint solution ?&lt;br /&gt;
&lt;br /&gt;
Thanks again :)&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Mon, 11 Feb 2013 17:57:27 GMT</pubDate><guid isPermaLink="false">New Post: Get the resulting XML  20130211055727P</guid></item><item><title>New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class</title><link>http://spribbon.codeplex.com/discussions/432694</link><description>&lt;div style="line-height: normal;"&gt;Re,&lt;br /&gt;
&lt;br /&gt;
The ribbon definition in Project Server is slightly different, so I couldn't use the StandardButtons.tt template file. I had to create a new one, specifically for Project Server.&lt;br /&gt;
&lt;br /&gt;
The following code only creates the buttons of the Project Center group (hardcoded), but at least, it's a start:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;#@ template debug=&amp;quot;true&amp;quot; hostSpecific=&amp;quot;true&amp;quot;  language=&amp;quot;C#&amp;quot; #&amp;gt;
&amp;lt;#@ output extension=&amp;quot;.cs&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; #&amp;gt;
&amp;lt;#@ Assembly Name=&amp;quot;System.Core.dll&amp;quot; #&amp;gt;
&amp;lt;#@ Assembly Name=&amp;quot;System.Xml.dll&amp;quot; #&amp;gt;
&amp;lt;#@ Assembly Name=&amp;quot;System.Xml.Linq.dll&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.IO&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Diagnostics&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Reflection&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Linq&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Collections&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Collections.Generic&amp;quot; #&amp;gt;
&amp;lt;#@ import namespace=&amp;quot;System.Xml.Linq&amp;quot; #&amp;gt;

using System;
using Microsoft.SharePoint.Utilities;
using FluentRibbon.Definitions;
using FluentRibbon.Definitions.Controls;

namespace FluentRibbonExtension.Libraries
{
    /// &amp;lt;summary&amp;gt;
    /// This library contains control definitions
    /// &amp;lt;/summary&amp;gt;
    public class ControlLibraryExtension : FluentRibbon.Libraries.ControlLibrary
    {
        /// &amp;lt;summary&amp;gt;
        /// OOTB SharePoint ribbon buttons.
        /// &amp;lt;/summary&amp;gt;
        public class ProjectServerButtons
        {
            public class ProjectCenter {
&amp;lt;#
        
List&amp;lt;XElement&amp;gt; tabElements = new List&amp;lt;XElement&amp;gt;();

Func&amp;lt;XAttribute, string&amp;gt; GetValueFromAttribute = a =&amp;gt; a == null ? String.Empty : a.Value;

XDocument doc = XDocument.Load(@&amp;quot;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\FEATURES\PWARibbon\listtemplates\pwaribbon.xml&amp;quot;);
XDocument resx = XDocument.Load(@&amp;quot;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\Resources\pwafeatures.resx&amp;quot;);
XNamespace spns = XNamespace.Get(&amp;quot;http://schemas.microsoft.com/sharepoint/&amp;quot;);

var root = doc.Element(spns + &amp;quot;Elements&amp;quot;); // single node

// récupération d'un noeud CustomAction spécifique.
XElement projectCenterNode = (from x in root.Elements(spns + &amp;quot;CustomAction&amp;quot;)
                                where x.Attribute(&amp;quot;Id&amp;quot;).Value == &amp;quot;Ribbon.ContextualTabs.ProjectCenter&amp;quot;
                                select x).FirstOrDefault();

// ici, on est sur un noeud custom action.
var commandUIDefinitions = projectCenterNode.Element(spns + &amp;quot;CommandUIExtension&amp;quot;).Element(spns + &amp;quot;CommandUIDefinitions&amp;quot;);
XElement projectCenter_ContextualTabs = (from x2 in commandUIDefinitions.Elements(spns + &amp;quot;CommandUIDefinition&amp;quot;)
                                            where x2.Attribute(&amp;quot;Location&amp;quot;).Value == &amp;quot;Ribbon.ContextualTabs._children&amp;quot;
                                            select x2).FirstOrDefault();
var groups = projectCenter_ContextualTabs.Element(spns + &amp;quot;ContextualGroup&amp;quot;).Element(spns + &amp;quot;Tab&amp;quot;).Element(spns + &amp;quot;Groups&amp;quot;);

var groupsElements = new List&amp;lt;XElement&amp;gt;();
groupsElements.AddRange(groups.Elements());
foreach (XElement groupElement in groupsElements)
{
    var groupValue = groupElement.Attribute(&amp;quot;Id&amp;quot;).Value;
    var groupName = groupValue.Substring(groupValue.LastIndexOf(&amp;quot;.&amp;quot;) + 1);
    var ctrl = groupElement.Element(spns + &amp;quot;Controls&amp;quot;);
    foreach (XElement controlElement in groupElement.Element(spns + &amp;quot;Controls&amp;quot;).Elements())
    {
        if (controlElement.Name.LocalName != &amp;quot;Button&amp;quot;) continue;
        
        var controlValue = GetValueFromAttribute(controlElement.Attribute(&amp;quot;Id&amp;quot;));
        var controlName = controlValue.Substring(controlValue.LastIndexOf(&amp;quot;.&amp;quot;) + 1);
        if (controlValue.StartsWith(groupValue + &amp;quot;.&amp;quot;))
            controlName = controlValue.Substring(groupValue.Length + 1).Replace(&amp;quot;.&amp;quot;, &amp;quot;_&amp;quot;);

        var controlText = GetValueFromAttribute(controlElement.Attribute(&amp;quot;LabelText&amp;quot;));

        string controlTitle = controlName;
        if (controlText.StartsWith(&amp;quot;$Resources:core,&amp;quot;))
        {
            var resourceName = controlText.Substring(&amp;quot;$Resources:core,&amp;quot;.Length).Trim().TrimEnd(';').ToLower();
            var element = resx
                .Element(&amp;quot;root&amp;quot;)
                .Elements(&amp;quot;data&amp;quot;)
                .FirstOrDefault(e =&amp;gt; e.Attribute(&amp;quot;name&amp;quot;).Value.ToLower() == resourceName);

            if (element != null)
                controlTitle = element.Element(&amp;quot;value&amp;quot;).Value;
        }

        var controlTooltipTitle = GetValueFromAttribute(controlElement.Attribute(&amp;quot;ToolTipTitle&amp;quot;));
        var controlTooltipDescription = GetValueFromAttribute(controlElement.Attribute(&amp;quot;ToolTipDescription&amp;quot;));

        var controlImage16 = GetValueFromAttribute(controlElement.Attribute(&amp;quot;Image16by16&amp;quot;));
        var controlImage32 = GetValueFromAttribute(controlElement.Attribute(&amp;quot;Image32by32&amp;quot;));

        var imageX = GetValueFromAttribute(controlElement.Attribute(&amp;quot;Image32by32Left&amp;quot;));
        var imageY = GetValueFromAttribute(controlElement.Attribute(&amp;quot;Image32by32Top&amp;quot;));
        string xyImageText = string.Empty;
        if (!String.IsNullOrEmpty(imageX))
            xyImageText = &amp;quot;,\r\n\t\t\t\t\t\t\tX = &amp;quot; + -Convert.ToInt32(imageX) / 32 + &amp;quot;,\r\n\t\t\t\t\t\t\tY = &amp;quot; + -Convert.ToInt32(imageY) / 32;

#&amp;gt;
                /// &amp;lt;summary&amp;gt;
                /// Button, which will appear identical to the standard '&amp;lt;#=controlTitle#&amp;gt;' button, but with custom javascript attached to it.
                /// &amp;lt;/summary&amp;gt;
                /// &amp;lt;param name=&amp;quot;javascript&amp;quot;&amp;gt;Javascript code, which will be executed, when the button is clicked.&amp;lt;/param&amp;gt;
                public static ButtonDefinition &amp;lt;#=groupName#&amp;gt;_&amp;lt;#=controlName#&amp;gt;(string javascript)
                {
                    return &amp;lt;#=groupName#&amp;gt;_&amp;lt;#=controlName#&amp;gt;(javascript, 1033);
                }
                /// &amp;lt;summary&amp;gt;
                /// Button, which will look exactly like the standard '&amp;lt;#=controlTitle#&amp;gt;' button, but with custom javascript attached to it
                /// &amp;lt;/summary&amp;gt;
                /// &amp;lt;param name=&amp;quot;javascript&amp;quot;&amp;gt;Javascript code, which will be executed, when the button is clicked.&amp;lt;/param&amp;gt;
                /// &amp;lt;param name=&amp;quot;lcid&amp;quot;&amp;gt;Locale id for the current site. If not specified, english locale (1033) will be used.&amp;lt;/param&amp;gt;
                public static ButtonDefinition &amp;lt;#=groupName#&amp;gt;_&amp;lt;#=controlName#&amp;gt;(string javascript, int lcid)
                {
                    string id = GetRandom().Next(100, 999).ToString();
            
                    var definition = new ButtonDefinition()
                    {
                        Id = &amp;quot;Button&amp;quot; + id,
                        Title = SPUtility.GetLocalizedString(&amp;quot;&amp;lt;#=controlText#&amp;gt;&amp;quot;, &amp;quot;core&amp;quot;, (uint)lcid),
                        Image = new ImageDefinition()
                        {
                            Url16 = &amp;quot;&amp;lt;#=controlImage16#&amp;gt;&amp;quot;,
                            Url32 = &amp;quot;&amp;lt;#=controlImage32#&amp;gt;&amp;quot;&amp;lt;#=xyImageText#&amp;gt;
                        },
                        ToolTip = new ToolTipDefinition()
                        {
                            Title = SPUtility.GetLocalizedString(&amp;quot;&amp;lt;#=controlTooltipTitle#&amp;gt;&amp;quot;, &amp;quot;core&amp;quot;, (uint)lcid),
                            Description = SPUtility.GetLocalizedString(&amp;quot;&amp;lt;#=controlTooltipDescription#&amp;gt;&amp;quot;, &amp;quot;core&amp;quot;, (uint)lcid)
                        },
                        CommandJavaScript = javascript
                    };

                    if (definition.Image.Url16.ToLowerInvariant().Contains(&amp;quot;$resources&amp;quot;))
                        definition.Image.Url16 = SPUtility.GetLocalizedString(definition.Image.Url16, &amp;quot;core&amp;quot;, (uint)lcid);
                    if (definition.Image.Url32.ToLowerInvariant().Contains(&amp;quot;$resources&amp;quot;))
                        definition.Image.Url32 = SPUtility.GetLocalizedString(definition.Image.Url32, &amp;quot;core&amp;quot;, (uint)lcid);

                    return definition;
                }
&amp;lt;#

    }
}

#&amp;gt;
            }
        }
    }
}&lt;/code&gt;&lt;/pre&gt;

Hope it helps !&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Mon, 11 Feb 2013 16:44:38 GMT</pubDate><guid isPermaLink="false">New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class 20130211044438P</guid></item><item><title>New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class</title><link>http://spribbon.codeplex.com/discussions/432694</link><description>&lt;div style="line-height: normal;"&gt;Hi omlin,&lt;br /&gt;
&lt;br /&gt;
Thanks a lot, I'm not familiar with this at all, but I'll look into it. It seems fairly &amp;quot;understandable&amp;quot;, so I think I won't struggle too much on this.&lt;br /&gt;
I'll post the template for SP 2013 &amp;amp; PS 2013 when I'm done.&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Mon, 11 Feb 2013 10:00:32 GMT</pubDate><guid isPermaLink="false">New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class 20130211100032A</guid></item><item><title>New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class</title><link>http://spribbon.codeplex.com/discussions/432694</link><description>&lt;div style="line-height: normal;"&gt;Simple T4 transformation can be used for that purpose. I.e. you can examine &lt;a href="http://spribbon.codeplex.com/SourceControl/changeset/view/0ccc374651b8#FluentRibbon/Libraries/StandardButtons.tt" rel="nofollow"&gt;StandardButtons.tt&lt;/a&gt; included into Fluent Ribbon API.&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Mon, 11 Feb 2013 09:47:36 GMT</pubDate><guid isPermaLink="false">New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class 20130211094736A</guid></item><item><title>New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class</title><link>http://spribbon.codeplex.com/discussions/432694</link><description>&lt;div style="line-height: normal;"&gt;Hello all,&lt;br /&gt;
&lt;br /&gt;
I reckon that a specific tool is used to transform native-ribbon XML into a c# class (i.e. StandardButtons.cs), but I don't know which one. Maybe someone can enlighten me about this ?&lt;br /&gt;
&lt;br /&gt;
My goal is simply to generate a C# class (namely ProjectServerButtons.cs) that would be Project Server specific. And since I'm working with SP2013/PS2013, I would be able to generate C# classes for each version (SP2010, PS2010, SP2013 and PS2013).&lt;br /&gt;
&lt;br /&gt;
Cheers,&lt;br /&gt;
looking forwards to hearing from you very soon!&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Mon, 11 Feb 2013 09:37:59 GMT</pubDate><guid isPermaLink="false">New Post: Transforming native-ribbon XML (SharePoint/Project Server) into c#class 20130211093759A</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
I'm currently experiencing the same issue on my checkbox control. I'm trying to make it work, but no luck for the moment. I'll keep you posted&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Fri, 08 Feb 2013 15:04:00 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208030400P</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;Hi.&lt;br /&gt;
My check box is disabled :(&lt;br /&gt;
Did I miss something?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My code:&lt;br /&gt;
&lt;br /&gt;
 new GroupDefinition()&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;                    {
                        Id = &amp;quot;OptionControlGroup&amp;quot;,
                        Title = &amp;quot;Option&amp;quot;,
                        Template = GroupTemplateLibrary.ThreeRowTemplate,
                        Controls = new ControlDefinition[]
                        {
                            new CheckBoxDefinition()
                            {
                                Id = &amp;quot;ChBox&amp;quot;,
                                Title = &amp;quot;Checkbox1&amp;quot;,                                    
                                CommandJavaScript = &amp;quot;alert('test')&amp;quot;
                            }
                        }

                    }&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>prg12</author><pubDate>Fri, 08 Feb 2013 14:46:58 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208024658P</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;Hi. &lt;br /&gt;
&lt;br /&gt;
Thanks for the great work!!! &lt;br /&gt;
I need to use checkbox control, so I will implement code and send feedback (maybe) today later.&lt;br /&gt;
&lt;br /&gt;
Thanks again.&lt;br /&gt;
&lt;/div&gt;</description><author>prg12</author><pubDate>Fri, 08 Feb 2013 13:23:36 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208012336P</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;Hi kwn34,&lt;br /&gt;
&lt;br /&gt;
I'm sure it was on schedule, but it seems I forgot about it while implemented some other controls :)&lt;br /&gt;
Thus thank you very much for your contribution!&lt;br /&gt;
&lt;br /&gt;
I will include the code into FluentRibbon API, test it, create some examples, update the documentation and then you'll be able to download the modified version from the 1.5 planning release page.&lt;br /&gt;
But I'm afraid this might take some time, so please use your code for a while.&lt;br /&gt;
&lt;br /&gt;
Thanks again and good luck with your projects!&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Fri, 08 Feb 2013 12:17:41 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208121741P</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;I've coded it myslef, here's the code:&lt;br /&gt;
&lt;br /&gt;
CheckBoxDefinition.cs :&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace FluentRibbon.Definitions.Controls
{
    /// &amp;lt;summary&amp;gt;
    /// Simple button. Does not have inner controls.
    /// &amp;lt;/summary&amp;gt;
    public class CheckBoxDefinition : ControlDefinition
    {
        internal override string Tag
        {
            get { return &amp;quot;CheckBox&amp;quot;; }
        }


        internal override void AddAttributes(XElement controlElement)
        {
            base.AddAttributes(controlElement);

            controlElement.Add(new XAttribute(&amp;quot;LabelText&amp;quot;, this.Title));

            if (this.ToolTip != null &amp;amp;&amp;amp; !String.IsNullOrEmpty(this.ToolTip.Title))
            {
                controlElement.Add(new XAttribute(&amp;quot;ToolTipTitle&amp;quot;, this.ToolTip.Title));
                controlElement.Add(new XAttribute(&amp;quot;ToolTipDescription&amp;quot;, this.ToolTip.Description));
                controlElement.Add(new XAttribute(&amp;quot;ToolTipHelpKeyWord&amp;quot;, this.ToolTip.HelpKeyWord));
                controlElement.Add(new XAttribute(&amp;quot;ToolTipShortcutKey&amp;quot;, this.ToolTip.ShortcutKey));
            }

            if (!String.IsNullOrEmpty(this.CommandJavaScript) &amp;amp;&amp;amp; controlElement.Attribute(&amp;quot;Command&amp;quot;) == null)
                controlElement.Add(new XAttribute(&amp;quot;Command&amp;quot;, this.FullId + &amp;quot;Command&amp;quot;));

        }

        internal override void Validate()
        {
            base.Validate();
            ValidationHelper.Current.CheckNotNull(this, &amp;quot;Title&amp;quot;);
        }

        /// &amp;lt;summary&amp;gt;
        /// Displayable title for control. Required.
        /// &amp;lt;/summary&amp;gt;
        public string Title;

        /// &amp;lt;summary&amp;gt;
        /// Control description
        /// &amp;lt;/summary&amp;gt;
        [Obsolete(&amp;quot;Description is dummy property, which never gets displayed. Use Tooltip.Description instead.&amp;quot;)]
        public string Description = string.Empty;

        /// &amp;lt;summary&amp;gt;
        /// ToolTip
        /// &amp;lt;/summary&amp;gt;
        public ToolTipDefinition ToolTip;

        /// &amp;lt;summary&amp;gt;
        /// Javascript will be run when button is pressed.
        /// Required for all types of buttons.
        /// By default, button does nothing.
        /// &amp;lt;/summary&amp;gt;
        public string CommandJavaScript = string.Empty;

        /// &amp;lt;summary&amp;gt;
        /// Javascript to determine, if control is enabled or disabled.
        /// By default it is &amp;quot;true&amp;quot; (button is always enabled).
        /// &amp;lt;/summary&amp;gt;
        public string CommandEnableJavaScript = &amp;quot;true&amp;quot;;

    }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>kwn34</author><pubDate>Fri, 08 Feb 2013 11:16:10 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208111610A</guid></item><item><title>New Post: CheckBox control</title><link>http://spribbon.codeplex.com/discussions/432460</link><description>&lt;div style="line-height: normal;"&gt;Hi there,&lt;br /&gt;
&lt;br /&gt;
First of all, thanks for the great work on this project !&lt;br /&gt;
&lt;br /&gt;
I have noticed that the CheckBox control has not been implemented in the FluentRibbon API. Is it on the agenda ? Could you give me some advice as for implementing this ?&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
Kind regards&lt;br /&gt;
&lt;/div&gt;</description><author>kwn34</author><pubDate>Fri, 08 Feb 2013 10:21:47 GMT</pubDate><guid isPermaLink="false">New Post: CheckBox control 20130208102147A</guid></item><item><title>New Post: MenuSection with fluentribbon</title><link>http://spribbon.codeplex.com/discussions/431858</link><description>&lt;div style="line-height: normal;"&gt;OK thanks !&lt;br /&gt;
&lt;br /&gt;
Do you want me to create an issue for this ?&lt;br /&gt;
&lt;/div&gt;</description><author>LLoyd_Bee</author><pubDate>Thu, 07 Feb 2013 06:58:09 GMT</pubDate><guid isPermaLink="false">New Post: MenuSection with fluentribbon 20130207065809A</guid></item><item><title>New Post: MenuSection with fluentribbon</title><link>http://spribbon.codeplex.com/discussions/431858</link><description>&lt;div style="line-height: normal;"&gt;You're right, it's not possible yet.&lt;br /&gt;
I will try to include this capability into the next release.&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Wed, 06 Feb 2013 21:51:35 GMT</pubDate><guid isPermaLink="false">New Post: MenuSection with fluentribbon 20130206095135P</guid></item><item><title>New Post: Adding to existing group/tab</title><link>http://spribbon.codeplex.com/discussions/355261</link><description>&lt;div style="line-height: normal;"&gt;Please refer to my sample projects (see &amp;quot;Source Code&amp;quot; tab), there are plenty of examples of this kind of stuff there.&lt;br /&gt;
&lt;br /&gt;
For example, in &lt;a href="http://spribbon.codeplex.com/SourceControl/changeset/view/0ccc374651b8#FluentRibbon.Elementary/Features/Feature1/Feature1.EventReceiver.cs" rel="nofollow"&gt;Feature receiver of the FluentRibbon.Elementary project&lt;/a&gt; I'm adding a sample button to List Tools -&amp;gt; Items -&amp;gt; Manage.&lt;br /&gt;
&lt;/div&gt;</description><author>omlin</author><pubDate>Wed, 06 Feb 2013 21:48:03 GMT</pubDate><guid isPermaLink="false">New Post: Adding to existing group/tab 20130206094803P</guid></item><item><title>New Post: Problem with SplitButton!!</title><link>http://spribbon.codeplex.com/discussions/432005</link><description>&lt;div style="line-height: normal;"&gt;Hi haniar,&lt;br /&gt;
&lt;br /&gt;
You have syntax errors in your javascript for CommandJavaScript and CommandEnableJavaScript properties.&lt;br /&gt;
Also, &amp;quot;javascript:&amp;quot; is not necessary there.&lt;br /&gt;
&lt;br /&gt;
So, i.e. you should have something like this:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;CommandEnableJavaScript = &amp;quot;alert('Hallo 0');&amp;quot;,
CommandJavaScript = &amp;quot;alert('Hallo 1');&amp;quot;,&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>omlin</author><pubDate>Wed, 06 Feb 2013 21:40:52 GMT</pubDate><guid isPermaLink="false">New Post: Problem with SplitButton!! 20130206094052P</guid></item></channel></rss>