This is a migrated thread and some comments may be shown as answers.
RadDatePicker textbox width problem with Safari
3 Answers 65 Views
This is a migrated thread and some comments may be shown as answers.
vincent
Top achievements
Rank 1
vincent asked on 21 Jan 2010, 01:06 AM
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?



3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 21 Jan 2010, 11:35 AM
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.
0
vincent
Top achievements
Rank 1
answered on 21 Jan 2010, 04:45 PM
That worked.  I am using RadControls_for_ASP.NET_AJAX_2008_2_1001_dev.
0
vincent
Top achievements
Rank 1
answered on 21 Jan 2010, 04:45 PM
Upgrading would cost us nearly as much as the original license.  As of right now it isn't in our budget.  Thanks.
Asked by
vincent
Top achievements
Rank 1
Answers by
Dimo
Telerik team
vincent
Top achievements
Rank 1
Share this question
or