This is a migrated thread and some comments may be shown as answers.

ToolbarSplitButton, white background color behind text on Mouse over

1 Answer 49 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 2
Alok asked on 17 Oct 2012, 12:05 PM
Hi there,

while placing a long name in Split button of rad ToolBar. I am getting a white backGround Color behind the button text on Mouse over.
Below is code snippet.

<telerik:RadToolBar ID="testId" runat="server" Skin="Outlook">
                    <Items>
                        <telerik:RadToolBarButton runat="server" CommandName="cmd1" ToolTip="cmd"  ImageUrl="./cmd.png" />
                        <telerik:RadToolBarButton IsSeparator="true" />
                        <telerik:RadToolBarSplitButton CommandName="textoo1" Value="textoo1
" Width="100%" OuterCssClass="../cmd.png"  >
                        <Buttons>
                               <telerik:RadToolBarButton runat="server" Text="ddddddddddddddddddddddddddddd dddddddddddddddddddddddddddaasassakk kkkkkkkkkkkkk kkkkkkkkkkkkkkkkkk" ></telerik:RadToolBarButton>
                        </Buttons>
                        </telerik:RadToolBarSplitButton
                    </Items>
                </telerik:RadToolBar>

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 18 Oct 2012, 02:50 PM
Hi Alok,

In order to achieve the nicely shaped rounded corners of the various controls when you hover the items we use sprite images. Unfortunately these sprite images are designed for items containing text with decent length. Therefore by using as large text as in the image that you provided it is expected that you get the described look. If you need to support such scenario you will need to alter the sprite image as well.   

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ToolBar
Asked by
Alok
Top achievements
Rank 2
Answers by
Kate
Telerik team
Share this question
or