A simple solution that I had adopted sometime back was to set the padding and margin of the CalendarExtender to 0px;
The solution is shown over here:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
.calFixIE *
{
padding:0px;
margin:0px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<cc1:CalendarExtender ID="CalendarExtender1" TargetControlID="TextBox1"
Format="dd/MM/yyyy" runat="server">
</cc1:CalendarExtender>
</div>
</form>
</body>
</html>
No comments:
Post a Comment