Jes Sie

Jes Sie

  • 737
  • 1.2k
  • 284.4k

ajax calendar control inside a gridview inside a contentplac

Mar 12 2018 1:13 AM
I have an ajax calendar control inside a gridview which is also inside a content place holder. The problem is that it gives me this output:
 
as you can see, I lost the Saturday ;( 
below is my code snippet
  1. <asp:TemplateField HeaderText="Birthday">  
  2.                                <ItemTemplate>  
  3.                                    <ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server"  
  4.                                        TargetControlID="txtFamilyDOB"  
  5.                                        CssClass="MyCalendarGv"  
  6.                                        Format="dd/MM/yyyy"   
  7.                                        BehaviorID="_content_CalendarExtender3"/>  
  8.                                           
  9.                                        <asp:TextBox ID="txtFamilyDOB" runat="server" Style="padding:0; width:125px;" CssClass="form-control"></asp:TextBox>  
  10.                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFamilyDOB"  
  11.                                        ErrorMessage="*" SetFocusOnError="True" Font-Bold="true" ForeColor="Red"></asp:RequiredFieldValidator>  
  12.                                </ItemTemplate>  
  13.                                <ItemStyle Font-Size="7pt" />  
  14.                            </asp:TemplateField>  
Below is my css
  1. .MyCalendarGv .ajax__calendar_container{  
  2.             border: 1px solid #646464;  
  3.             background-color: lemonchiffon;  
  4.             color: red;  
  5.             font-size:small;  
  6.         }  
Thanks for any help. 
 

Answers (1)