Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
WebDatePicker 10.2 Calendar Not Showing Bug
posted

I'm using the WebDatePicker control on an ASP.NET page and when I use a server side include the calender pop up no longer works.  I believe this is a bug and I'm wondering if anyone else has run into this issue or has a workaround.  Here is what I'm talking about

This works....

 

 

 

<

 

 

form id="TaskRunnerForm" runat="server">

 

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

 

 

 

<ig:WebDatePicker ID="WebDatePicker1" runat="server">

 

 

 

</ig:WebDatePicker>

</form>

This does not work...

<

 

 

form id="TaskRunnerForm" runat="server">

 

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

 

 

 

<ig:WebDatePicker ID="WebDatePicker1" runat="server">

 

 

 

</ig:WebDatePicker>

<%=CustomProperty %>   <-----This server include breaks the webDatePicker

 

</form>

I believe the serverside include is interferring with the post back by the ajax control when it tries to pop open the calendar.

 

Parents
No Data
Reply
  • 20
    posted

    I had the same Problem and found an good workaround

    After reviewing the source:

    There is a Flag to automatic create a shared calender, but it is not created

    I manuelly add a Calendar  to my aspx

       <ig:WebMonthCalendar ID="_ig_def_dp_cal" runat="server" />

    You may use an other ID, but must set WebDatePicker.DropDownCalendarID also

     

Children