
<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 |
Is there a way to define a default width for an input control (CssClass) so that it can be overwritten inline via the controls width parameter?
Thanks,
Rich


| protected void RadGridLetters_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| if (e.CommandName == "Print") |
| { |
| int letterId = (int)e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["LetterId"]; |
| CreatePDF(letterId); |
| } |
| } |
| protected void RadGridLetters_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| if (e.CommandName == "Print") |
| { |
| int letterId = (int)e.Item.OwnerTableView.DataKeyValues[6]["LetterId"]; |
| CreatePDF(letterId); |
| } |
| } |
| <Telerik:RadAjaxPanel ID="RadAjaxPanelLetters" runat="server" LoadingPanelID="RadAjaxLoadingPanel2" ClientEvents-OnRequestStart="onRequestStartLetters"> |
| <telerik:RadGrid ID="RadGridLetters" runat="server" GridLines="None" EnableEmbeddedSkins="false" Skin="RealMax" |
| AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowAutomaticDeletes="true" |
| DataSourceID="LinqDS_Letters" OnItemCommand="RadGridLetters_ItemCommand" |
| AllowPaging="True" AllowSorting="True" EnableHeaderContextMenu="True" |
| AllowFilteringByColumn="True" > |
| <ClientSettings EnableRowHoverStyle="true" > |
| <ClientEvents OnRowContextMenu="RowContextMenu" OnRowMouseOut="rowMouseOut" OnRowMouseOver="rowMouseOver" OnPopUpShowing="PopUpCentered" OnCommand="GridCommand" ></ClientEvents> |
| <Selecting AllowRowSelect="true" /> |
| </ClientSettings> |
| <HeaderContextMenu Skin="Office2007" EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </HeaderContextMenu> |
| <PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="false" /> |
| <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" |
| DataKeyNames="LetterId" DataSourceID="LinqDS_Letters" EditMode="EditForms"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <ItemStyle CssClass="RowMouseOut" /> |
| <AlternatingItemStyle CssClass="RowMouseOut" /> |
| <Columns> |
| <telerik:GridEditCommandColumn EditImageUrl="~/Images/Buttons/edit.gif" |
| ButtonType="ImageButton" CancelImageUrl="~/Images/Buttons/cancel.png" |
| Resizable="False"> |
| <HeaderStyle Width="16px" /> |
| <ItemStyle CssClass="CommandColumn" /> |
| </telerik:GridEditCommandColumn> |
| <Telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/Images/Buttons/printer.png" Text="Print" CommandName="Print" > |
| <HeaderStyle Width="16px" /> |
| <ItemStyle CssClass="CommandColumn" /> |
| </Telerik:GridButtonColumn> |
| ... etc |
| var cancelAjaxLetters = false; |
| function GridCommand(sender, args) { |
| if (args.get_commandName() == "Print") cancelAjaxLetters = true; |
| } |
| function onRequestStartLetters(ajaxManager, eventArgs) { |
| if (cancelAjaxLetters) { |
| //alert("disabling Ajax"); |
| eventArgs.EnableAjax = false; |
| } |
| cancelAjaxLetters = false; |
| } |
| protected void RadGridLetters_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| if (e.CommandName == "Print") |
| { |
| int letterId = (int)e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["LetterId"]; |
| CreatePDF(letterId); |
| } |
| } |
