Ajax calendar extender

mike55

Contributor
Joined
Mar 26, 2004
Messages
727
Location
Ireland
I am using a number of calendar extenders on a page. the layout that I am using is as follows:
Code:
<div class="myDiv">
<label>Date Rescinded</label>
<asp:TextBox ID="txtBNRescinded" runat="server" CssClass="FormItemStyle" ValidationGroup="view2" Width="90px">
</asp:TextBox>
<asp:ImageButton ID="iBtnBNRescinded" runat="server" ImageUrl="~/Images/Calendar_scheduleHS.png" />
</div>

The css that I am using is:
Code:
.myDiv
{
	text-align: left;
}

label {
  float: left;
  text-align: left;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  color: #000000;
  width: 17em;
  padding-left: 6px;
  padding-right: 6px;
}

p
{
	text-align: left;
	height:2em;
}

When I click on the button, the calendar appears as per normal. However, when I go to select a date, the entire controls goes blank and then disappears.

Any suggestions? I have tried to enclose the whole thing within a
Code:
<p>
tag. However, this only results in a javascript errors: "Object required".

Mike55.
 
Back
Top