| ImageButton delButton = gridItem["DeleteColumn"].Controls[0] as ImageButton; |
| delButton.Enabled = false; |
| RadGrid1.Enabled = false; |

<
telerik:RadGrid ID="grdLeaseDetails" runat="server" GridLines="None" AllowMultiRowSelection="true"
AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False"
ShowStatusBar="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"
AllowAutomaticUpdates="True" HorizontalAlign="NotSet">
<mastertableview CommandItemDisplay="Top" GridLines="Horizontal" DataKeyNames="ID"
EditMode="PopUp">
<Columns>
<telerik:GridBoundColumn HeaderText="Co" DataField="Company" UniqueName="Company"
SortExpression="Company" HeaderStyle-Width="110px" FilterControlWidth="90px"
AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="true" />
...
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" EditImageUrl="~/Images/open.gif">
</telerik:GridEditCommandColumn>
</Columns>
<EditFormSettings UserControlName="UserControl\EditLeaseDetailControl.ascx" EditFormType="WebUserControl"
FormStyle-BackColor="LightYellow" FormStyle-Width="100%" FormStyle-Height="100%"
CaptionFormatString="Edit Detail: {0}" CaptionDataField="ID" PopUpSettings-Modal="true" >
<EditColumn UniqueName="EditCommandColumn">
</EditColumn>
</EditFormSettings>
</mastertableview>
<ClientSettings>
<ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="PopUpShowing" />
<Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />
</ClientSettings>

<telerik:RadToolBar ID="lookup_button" runat="server" Skin="Default" OnClientButtonClicked="OnClientToolbarLookupButtonClicked" EnableViewState="false">
<Items>
<telerik:RadToolBarButton runat="server" PostBack="false" style="font-size: 8pt; font-weight: bolder;" Text="Lookup">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
we tried to play around with the padding but this distorted the button. How can can we make the buttons in the RadToolBar thinner. Thanks.
<
telerik:RadNumericTextBox ID="radTXTValue" runat="server" Width="500px"><NumberFormat DecimalDigits="15" AllowRounding="false" /></telerik:RadNumericTextBox>

| For Each appointment In appointments |
| If appointment.IsInRange( startTime, endTime ) Then |
| Execute( appointment ) |
| End If |
| Next |