EDIT
With one of the below answers, I was able to correct this issue for the rendering within a table. I'm still seeing this issue within my ListViews. I've tried this CSS for the ListView, but it has not corrected the issue.
/* FIX FOR CALENDAR IN TABLE */
.DateTime_Edit
{
white-space: nowrap;
}
.DateTime_Edit table
{
border: solid 0 #FFFFFF;
width: 0;
height: 0;
padding: 0;
margin: 0;
}
.DateTime_Edit table tr td
{
border: solid 0 #FFFFFF;
padding: 0;
margin: 0;
}
/* LISTVIEW, NOT WORKING */
.DateTime_Edit table.listview
{
border: solid 0 #FFFFFF;
width: 0;
height: 0;
padding: 0;
margin: 0;
}
.DateTime table.listview tr td
{
border: solid 0 #FFFFFF;
padding: 0;
margin: 0;
}
<%@ Control Language="C#" CodeBehind="DateAjaxCalendar_Edit.ascx.cs" Inherits="WarehouseLogging.DateAjaxCalendar_EditField" %>
<div class="DateTime_Edit">
<asp:TextBox ID="TextBox1" runat="server" Text='<%# FieldValueEditString %>' CssClass="droplist"></asp:TextBox>
<asp:Image runat="Server" CssClass="CalendarIcon" ID="imgCalendar1" ImageUrl="~/Images/calendar.gif" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" PopupButtonID="imgCalendar1"
TargetControlID="TextBox1" CssClass="custcal1">
</ajaxToolkit:CalendarExtender>
<ajaxToolkit:FilteredTextBoxExtender ID="fltrTextBox1" runat="server" TargetControlID="TextBox1"
FilterType="Custom, Numbers" ValidChars="/">
</ajaxToolkit:FilteredTextBoxExtender>
<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" CssClass="droplist"
ControlToValidate="TextBox1" Display="Dynamic" Enabled="false" />
<asp:DynamicValidator runat="server" ID="DynamicValidator1" CssClass="droplist" ControlToValidate="TextBox1"
Display="Dynamic" />
</div>
Another solution is to override those styles with another named style. The new style would need to appear after the style for the table noted above, within the .css file itself. (order of precedence for css is where it appears in the .css file...) Having a specific style for that control would prevent other styles from doing the same thing in the future.
I wrote this style, placed it at the end of the Site.css file and wrapped my entire "DateTime_Edit" FieldTemplate Contorl in it:
.DateTime_Edit
{
white-space: nowrap !important;
}
.DateTime_Edit table
{
border: solid 0 #FFFFFF !important;
width: 0 !important;
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
}
.DateTime_Edit table tr td
{
border: solid 0 #FFFFFF !important;
background-color: #FFFFFF !important;
padding: 0 !important;
margin: 0 !important;
}
Edit: Added background-color to the 'td'. Added !important to everything (may not be needed)
Hopefully the default Site.css file will be updated in subsequent releases.