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);
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://ko.infragistics.com/support