I'm trying to shrink the ToolBar height to match the height of my button images (*.GIF files). The RadToolBar Height property is buggy and doesn't work properly. My buttons are only 9 pixels high so I should be able to shrink the ToolBar height by about 30%. I have tried all the CSS/Style examples on the forums and none of them work correctly.
I want to shrink the height to the minimum possible given my 9 pixel high button images. I do not want to apply this height shrinking to all tool bars on the page. Only some of them. I want to leave the rest of the tool bars at the stock height. I'm running Visual Studio 2008 SP1 with Telerik 2009 Q3, IE8 and Firefox. I'm currently using the Office 2007 Skin but it would be nice if the shrinking solution worked with all skins without modification.
Here is my test page. I have attached the button GIF files.
Thank You,
Greg
I want to shrink the height to the minimum possible given my 9 pixel high button images. I do not want to apply this height shrinking to all tool bars on the page. Only some of them. I want to leave the rest of the tool bars at the stock height. I'm running Visual Studio 2008 SP1 with Telerik 2009 Q3, IE8 and Firefox. I'm currently using the Office 2007 Skin but it would be nice if the shrinking solution worked with all skins without modification.
Here is my test page. I have attached the button GIF files.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TelerikWebForm.aspx.cs" Inherits="TelerikWebForm" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
<telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
<Scripts> |
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> |
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> |
</Scripts> |
</telerik:RadScriptManager> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
</telerik:RadAjaxManager> |
<div> |
<br/><br/><br/> |
<telerik:RadToolBar ID="rtbRecNavCtl" Runat="server"> |
<Items> |
<telerik:RadToolBarButton runat="server" |
ImageUrl="RecNavFirst.gif" CausesValidation="False" Value="F"> |
</telerik:RadToolBarButton> |
<telerik:RadToolBarButton runat="server" |
ImageUrl="RecNavPrev.gif" CausesValidation="False" Value="P"> |
</telerik:RadToolBarButton> |
<telerik:RadToolBarButton runat="server" |
ImageUrl="RecNavNext.gif" CausesValidation="False" Value="N"> |
</telerik:RadToolBarButton> |
<telerik:RadToolBarButton runat="server" |
ImageUrl="RecNavLast.gif" CausesValidation="False" Value="L"> |
</telerik:RadToolBarButton> |
</Items> |
</telerik:RadToolBar> |
<br/><br/><br/> |
</div> |
</form> |
</body> |
</html> |
Thank You,
Greg