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

RadButton Repaint Issue with IE8 Compatibility View

2 Answers 118 Views
Button
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 18 Nov 2010, 04:05 PM
When running IE8 with Compatibility View mode the RadButton text is sometimes missing or distorted after scrolling out of view and back into view.  You can see this with some of the demos like the Split Button demo.

http://demos.telerik.com/aspnet-ajax/button/examples/splitbutton/defaultcs.aspx

Sometimes it repaints the text correctly after a couple of seconds. 

Is there a workaround for this problem?

2 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 19 Nov 2010, 08:39 AM
Hi John Landreth,

This is a know issue, and could be reproduced even if you do not use RadButton. Applying border: 0 and overflow: visible to an input. Overflow visible is necessary to remove unwanted padding in IE6/7. If you want you could use the following code to avoid the unwanted distortion:

.ie7buttondist .rbDecorated {overflow: hidden !important; }

This additional class will remove the distortion, but you will also need to set the button width explicitly in order to remove the unwanted padding:
<telerik:RadButton ID="RadButton1" runat="server" Text="Enable Html and Flash" Skin="Default"
        PressedCssClass="pressed" Width="165" CssClass="ie7buttondist">
        <Icon PrimaryIconCssClass="cbHtml" PrimaryIconLeft="4" PrimaryIconTop="4" SecondaryIconCssClass="cbFlash"
            SecondaryIconRight="4" SecondaryIconTop="4" />
    </telerik:RadButton>

Kind regards,
Bojo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
John
Top achievements
Rank 1
answered on 19 Nov 2010, 02:08 PM
Thanks Bojo!  Your solution fixed the problem. 
Tags
Button
Asked by
John
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
John
Top achievements
Rank 1
Share this question
or