title: Ajax calendar not displaying correctly at first time in .net?
body: <p>I am using AJAXToolKit calendar in visual studio. I can't find the styles. Please look at the image, when the page loads, when i click the calendar icon, the extender does not have any styles. </p>
  
  <p>After i selected some date, the styles are working properly.</p>
  
  <p>So, Basically the styles are working if it has value.</p>
  
  <h2>Without Value:</h2>
  
  <p><img src="https://i.stack.imgur.com/o169g.jpg" alt="if it has no value"></p>
  
  <h2>With Value:</h2>
  
  <p><img src="https://i.stack.imgur.com/Rw4la.jpg" alt="If it has value"></p>
  
  <h2>aspx code:</h2>
  
  <pre><code>&lt;tr&gt;
    &lt;td&gt;
      &lt;asp:Label ID="IncidentDate_edit_lbl" runat="server" Text="Date: " CssClass="labelstyle"&gt;&lt;/asp:Label&gt;
    &lt;/td&gt;
  
    &lt;td&gt;
      &lt;asp:TextBox ID="IncidentDate_edit_tbx" AutoPostBack="true" runat="server" CssClass="blueLabelStyle" Text='&lt;%#Bind("Incident_Date")%&gt;'&gt;&lt;/asp:TextBox&gt;
      &lt;asp:ImageButton ID="IncidentDate_edit_ibtn" runat="server" ImageUrl="~/Images/Calendar-icon.png" Height="20px" Width="20px" /&gt;
      &lt;cc1:CalendarExtender ID="incidentdate_edit_calendarextend" runat="server" TargetControlID="IncidentDate_edit_tbx" EnabledOnClient="true" Format="dd-MM-yyyy" 
                                              PopupButtonID="IncidentDate_edit_ibtn"&gt;
      &lt;/cc1:CalendarExtender&gt;
      &lt;asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Invalid Date" ValidationGroup="Incident"
                                              ValidationExpression="\d{1,2}-\d{1,2}-\d{4}" Display="None" ControlToValidate="IncidentDate_edit_tbx"&gt;                                                                        
                                          &lt;/asp:RegularExpressionValidator&gt;
      &lt;cc1:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" TargetControlID="RegularExpressionValidator1"&gt;
      &lt;/cc1:ValidatorCalloutExtender&gt;                                    
    &lt;/td&gt;
  &lt;/tr&gt;  
  </code></pre>