public static IMenuButton CreateAndAddButton(this IMenuContainer LinkBar, string Caption, string Description = "")
     if (Description == String.Empty)
         Description = Caption;
     var Control = LinkBar.AddButton();
     Control.Caption = Caption;
     Control.Visible = true;
     Control.Enabled = true;
     Control.DescriptionText = Description;
     return Control;
        public static MvcHtmlString AddAddDeleteButton(this HtmlHelper html, string tableID)
             *  <div class="btn-group">
             *  <a id="add" class="btn btn-info" href="Country/Add"><i class="icon-check icon-white"></i> Add</a>
                <a id="edit" class="btn btn-info" href="Country/Edit/1"><i class="icon-edit icon-white"></i> Edit</a>
                <a id="delete" class="btn btn-danger" href="Country/Delete/1"><i class="icon-remove-sign icon-white"></i> Delete</a>
             *  </div>

            TagBuilder tagDiv = new TagBuilder("div");
            tagDiv.MergeAttribute("class", "btn-group");

            tagDiv.InnerHtml = html.AddButton().ToString() +  html.DeleteButton(tableID).ToString();

            return MvcHtmlString.Create(tagDiv.ToString());
 /// <summary>Adds a button tool to the toolbar.</summary>
 /// <param name="toolbar">The toolbar to add to.</param>
 /// <param name="id">The unique identifier of the tool.</param>
 /// <param name="icon">The icon.</param>
 /// <param name="text">The text label.</param>
 /// <param name="orientation">The orientation of the label relative to the icon.</param>
 /// <param name="showDefaultBackground">Flag indicating whether the default background is rendered when the mouse is not over the tool.</param>
 /// <param name="toolTip">The tooltip</param>
 /// <param name="minWidth">The minimum width of the tool.</param>
 /// <param name="column">The index of the column the tool is in (0-based, zero by default).</param>
 /// <param name="row">The index of the row the tool is in (0-based, zero by default).</param>
 /// <param name="columnSpan">The number of rows the tool spans (1-based, one by default.  Must be 1 or greater).</param>
 /// <param name="rowSpan">The number of columns the tool spans (1-based, one by default.  Must be 1 or greater).</param>
 public static IButtonTool AddButton(
     this IToolBar toolbar,
     object id = null,
     IconImage icon = IconImage.SilkAccept,
     String text = null,
     Orientation orientation = Orientation.Horizontal,
     bool showDefaultBackground = false,
     string toolTip = null,
     int minWidth = 0,
     int? column = null,
     int? row = null,
     int? columnSpan = 1,
     int? rowSpan = 1)
     return toolbar.AddButton(
         icon.ToImage(), text, 
         orientation, showDefaultBackground, toolTip, minWidth,
         column, row, columnSpan, rowSpan);