<ContentTemplate>
<telerik:RadGrid ID="dgCompDetails" runat="server" AutoGenerateColumns="False" BorderStyle="Solid" CellSpacing="0" GridLines="None" Skin="Sitefinity">
<ClientSettings>
<Selecting CellSelectionMode="SingleCell" />
</ClientSettings>
<MasterTableView AllowNaturalSort="False" EditMode="InPlace" AllowAutomaticUpdates="True">
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
</ExpandCollapseColumn>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
<PagerStyle PageSizeControlType="RadComboBox" />
</MasterTableView>
<PagerStyle PageSizeControlType="RadComboBox" />
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
</ContentTemplate>
'Code behind creation of columns
boundColumn = New GridBoundColumn()
dgCompDetails.MasterTableView.Columns.Add(boundColumn)
boundColumn.DataField = "ippComponentSrcValue"
boundColumn.UniqueName = "dgippComponentSrcValue"
boundColumn.Display = True
boundColumn.HeaderText = "Value"
RadFormDecorator does not decorate input type=button when class attribute is present.
Demo below.
Regards
<%@ Page Title="" Language="C#" MasterPageFile="~/TestUnit/TelerikBug/DecoratedButtonMaster.Master" AutoEventWireup="true" CodeBehind="DecoratedButton.aspx.cs" Inherits="TestUnit.TelerikBug.DecoratedButton" %><asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <script type="text/javascript" src="jquery-1.8.3.js"></script></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div id="addbuttonpanelid"> <input type="button" id="button20" value="bugdecoratedbutton" class="bug"/><br /> <input type="button" id="button1" value="decoratedbutton"/><br /> <input type="button" id="button5" disabled="disabled" value="decorateddisabledbutton" class="bug"/><br /> </div> <script type="text/javascript"> $(document).ready( function () { $("<br/>") .appendTo("#addbuttonpanelid"); $("<input type='button' id='button2' value='afterready'/>") .appendTo("#addbuttonpanelid"); $("#button1").click(function () { $('#button5').removeAttr('disabled'); $("<input type='button' id='button3' value='onclick'/>") .appendTo("#addbuttonpanelid"); $("<input type='button' id='button6' disabled='disabled' value='onclick'/>") .appendTo("#addbuttonpanelid"); $("<input type='button' id='button10id' name='voter' value='VOTER' class='bug'/>") .appendTo("#addbuttonpanelid"); var decorator = $find("RadFormDecoratorID"); if (decorator) { decorator.decorate(); } }); } ); </script></asp:Content>Тhe FREE Telerik RadFormDecorator is a unique control that provides great skinning capabilities for standard Microsoft form controls like buttons, checkboxes, text areas, fieldsets, scrollbars, etc.
The FREE distribution of RadFormDecorator also includes a TRIAL version of all other controls from the RadControls for ASP.NET AJAX Suite.
The product is provided to you and the community complimentary and is available through electronic download. This complimentary community edition does not come with dedicated support, however, you may access the supplemental support resources (documentation, forums). We hope you enjoy this product and take full advantage of all the resources available to you.