Button location Diverge

2 posts, 0 answers
  1. vincent chen
    vincent chen avatar
    4 posts
    Member since:
    Apr 2010

    Posted 08 Jul 2010 Link to this post

    Hi,
    I use the RadFormDecorator control to beautify the page control,but i don't know why same page in different browser will display different..And why the button will diverge the textbox horizontal...
    Could you help me how to define?Thank you !

    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!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>
    </head>
    <body>
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            </telerik:RadScriptManager>
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />
    <table style="width:600px;" cellpadding="2" cellspacing="2">
    <tr>
        <td style="width:10%">ID:</td>
        <td style="width:40%"><input type="text" /></td>
        <td style="width:15%">Name:</td>
        <td style="width:35%"><input type="text" /><input type="button" value="..." /></td>
    </tr>
    </table>
        </form>
    </body>
    </html>

  2. Bozhidar
    Admin
    Bozhidar avatar
    680 posts

    Posted 12 Jul 2010 Link to this post

    Hi Vincent,

    This Firefox/Safari issue has been fixed for the upcoming 2010 Q2 release.
    Please, find a fast fix, that will align the buttons in Firefox when are placed next to a textbox:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head id="Head1" runat="server">
        <title>无标题页</title>
        <style type="text/css">
            /*  Fixed button position when it is placed next to a textbox - Firefox/Safari */
            .rfdDecorated,
            a.rfdSkinnedButton
            {
                vertical-align: middle;
            }
        </style>
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" />
        <table style="width: 600px;" cellpadding="2" cellspacing="2">
            <tr>
                <td style="width: 10%">
                    ID:
                </td>
                <td style="width: 40%">
                    <input type="text" />
                </td>
                <td style="width: 15%">
                    Name:
                </td>
                <td style="width: 35%">
                    <input type="text" /><input type="button" value="..." />
                </td>
            </tr>
        </table>
        </form>
    </body>
    </html>

    Please, note that when you update to the upcoming version 2010 Q2, it will not be necessary to use it anymore, as the fix will be placed in the base RadFormDecorator CSS file.

    Kind regards,
    Bojo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top