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

Active button in IE8

1 Answer 21 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Dan Ware
Top achievements
Rank 1
Dan Ware asked on 12 Nov 2012, 11:00 AM
Here is yet another issue with IE and the form decorator 2012 Q3 release, if a button has been clicked then it screws up the style.  The button's border disappears (except for the right-border).

It works correctly in compatibility view, however.

It seems to affect any page where the button does not redirect/refresh.

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 12 Nov 2012, 05:15 PM
Hello Dan,

You can force the decorator to repaint the controls, e.g.:
<telerik:RadFormDecorator runat="server" ID="rfd1" DecoratedControls="All" EnableRoundedCorners="true" />
<asp:Button ID="Button1" Text="just display the date" OnClientClick="displayDate(); return false;"
    runat="server" />
<div id="container">
</div>
<script type="text/javascript">
    function displayDate()
    {
        $get("container").innerHTML = new Date();
        if ($telerik.isIE8)
        {
            $find("rfd1").decorate();
        }
    }
</script>



All the best,
Marin Bratanov
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
Tags
FormDecorator
Asked by
Dan Ware
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or