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

Chrome and Scrollbars

4 Answers 60 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 12 Nov 2010, 02:18 PM
Hi,

I've noticed that any scrollbars that are normally styled by formdecorator in IE, FF seem to be getting missed in Chrome.

Will this be corrected now that Chrome is officially supported?

Regards,

Jon

4 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 16 Nov 2010, 08:51 AM
Hello Jon,

We will examine the new Chrome/Safari scrollbars support and probably the decoration for that part of the browser will be included in a future release - the upcoming Q1, 2011.

Best regards,
Bojo
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.
0
Jon
Top achievements
Rank 1
answered on 16 Nov 2010, 09:46 AM
Sounds good Bojo.  Not a major issue but given that Chrome works faster than IE I prefer it for use with web apps.  Still prefer IE for other stuff as I cannot get past the google privacy issues ;)

Cheers,

Jon
0
Bozhidar
Telerik team
answered on 17 Nov 2010, 10:02 AM
Hello Jon,

Actually RadFormDecorator supports decorating of scrollbars of HTML elements, such as DIV. The decorations is not supported for the BODY element scrollbars. IE supports BODY element scrollbars also.

Find images attached: iescroll.gif and chromescroll.gif.

The example code:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <style type="text/css">
        body, html
        {
            height: 100%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadSkinManager ID="rsm1" runat="server" ShowChooser="true">
    </telerik:RadSkinManager>
    <br />
    <br />
    <telerik:RadFormDecorator ID="rfd1" runat="server" DecoratedControls="All" />
    <div style="height: 100px; width: 300px; padding: 5px; overflow: scroll;">
        <strong>Div Scorlls</strong>
        <br />
        <br />
        <asp:Button ID="btn1" runat="server" Text="Button" />
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <br />
        <br />
        <textarea rows="" cols="" style="width: 350px; height: 30px;"></textarea>
    </div>
    <div style="height: 1000px; margin-top: 30px; border: 1px solid red;">
        <strong>This casuing Body Scroll</strong>
    </div>
    </form>
</body>
</html>

Now we can achieve decoration for the body scrollbars in webkit also. And we will do our best to implement it for the next official release.

All the best,
Bojo
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.
0
Jon
Top achievements
Rank 1
answered on 17 Nov 2010, 11:16 AM
Hi Bojo,

Sounds good - look forward to having it all look the same cross browser.

You have to wonder how many development hours are wasted on the browser compliance issue.  Hell you could probably reduce global warming if you could remove the browser issues!!! ;)

Cheers,

Jon
Tags
FormDecorator
Asked by
Jon
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Jon
Top achievements
Rank 1
Share this question
or