ASP.NET - date picker not working when visible false is set

Asked By msakt on 12-Jul-12 05:40 AM
    <tr id="dt" runat="server" visible="false">
<td>
    <asp:TextBox ID="txtCampaignDate2" runat="server" ReadOnly="True"
                             Width="175px"></asp:TextBox>
                            <rjs:PopCalendar ID="Pop" runat="server"
                              ClientScriptOnDateChanged="DateChanged" Control="txtCampaignDate2"
                              ControlFocusOnError="true" Fade="0" Format="mm dd yyyy"
                              MessageAlignment="RightCalendarControl" Separator="/" Shadow="false"
                              ShowDaysOutOfMonth="true" ShowGoodFriday="True" ShowWeekend="true"
                              ShowWeekNumber="true" />
</td>
</tr>
when choose radiobutton show this tr....

this control is not working....but visible false/true not set is tr,its work fine
Peter Bromberg replied to msakt on 12-Jul-12 09:28 AM
When you set the visibility of an HTML control to false, it doesn't even get rendered to the browser.