jquery datepicker and aspx TextBox visible problem

Posted by senzacionale on Stack Overflow See other posts from Stack Overflow or by senzacionale
Published on 2011-01-09T22:26:29Z Indexed on 2011/01/09 22:54 UTC
Read the original article Hit count: 159

Filed under:
|
$(".inputTypeDate").datepicker({
        dateFormat: "dd.mm.yy",
        changeMonth: true,
        changeYear: true
    });

<asp:TextBox ID="txtBirthday" runat="server" CssClass="inputTypeDate" Visible="false" ValidationGroup="urgent"></asp:TextBox>   

in aspx we have some component set to Visible="false" then we change visibility to true. But jquery datepicker calendar does not work in this component. If Visible="true" by default then works.

Why and how to fix that. I think that problem is in changing visibility.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about jQuery