RadDatePicker textbox width problem with Safari

4 posts, 0 answers
  1. vincent
    vincent avatar
    61 posts
    Member since:
    Jun 2008

    Posted 20 Jan 2010 Link to this post

    Safari is not rending the textbox by the RadDatepicker correctly.  It is too wide.  We have this code:

     <telerik:RadDatePicker  ID="dateStartDate" Width="75px"  runat="server" Skin="Office2007" OnSelectedDateChanged="date_Changed" AutoPostBack="true">

    It works fine with IE and FF.  Any idea how to correct this?



  2. Dimo
    Admin
    Dimo avatar
    8452 posts

    Posted 21 Jan 2010 Link to this post

    Hello Vincent,

    I suspect that you are using a rather old version of RadControls. Please consider upgrading. In cases like yours it is good to specify the controls version and the browser version.

    Alternatively, you can try the following workaround:

    <%@ Page Language="C#" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     
    <head id="Head1" runat="server">
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <title>RadControls</title>
    <style type="text/css">
     
    .pickerWrapper_Office2007,
    .pickerWrapper_Office2007 table{width:75px !important}
     
    .pickerWrapper_Office2007 .inputCell,
    .pickerWrapper_Office2007 .inputCell span>input:first-child{width:55px !important}
     
    </style>
    </head>
    <body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
     
    <telerik:RadDatePicker  ID="dateStartDate" Width="75px"  runat="server" Skin="Office2007" />
      
    </form>
    </body>
    </html>


    Best wishes,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. vincent
    vincent avatar
    61 posts
    Member since:
    Jun 2008

    Posted 21 Jan 2010 Link to this post

    That worked.  I am using RadControls_for_ASP.NET_AJAX_2008_2_1001_dev.
  4. vincent
    vincent avatar
    61 posts
    Member since:
    Jun 2008

    Posted 21 Jan 2010 Link to this post

    Upgrading would cost us nearly as much as the original license.  As of right now it isn't in our budget.  Thanks.
Back to Top