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
140
WebDatePicker: WebMonthCalendar does not popup on click
posted

Hello,

I have a custom WebDatePicker that create its WebMonthCalendar and set its property DropDownCalendarId.

It's works fine but when a datepicker is dynamically added to a page, the calendar does not pop...

What can i do ?

Thanks,

AntoWeb

 

Here is my code:

private Infragistics.Web.UI.EditorControls.WebMonthCalendar calendar;

 

Constructor:

calendar = new Infragistics.Web.UI.EditorControls.WebMonthCalendar();

 

OnInit:

this.Page.LoadComplete += new EventHandler(Page_LoadComplete);

 

In Page_LoadComplete:

EnsureSharedCalendar(); //With or without, no change...

calendar.ID = this.ClientID + "_cal";

this.DropDownCalendarID = calendar.ID;

 this.Parent.Controls.Add(calendar);

 

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello antoweb,

    I'm just following up to see whether you've managed to resolved your issue.

    If you need further assistance please let me know.

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

Children
No Data