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
200
WebDateChooser does not drop down calendar when added via RenderControl()
posted

I have added a WebDateChooser to a WebControl. I noticed that I had to specify the image directories in order to get the  arrow to show up, something I didn't have to do when using it in a TemplatedColumn. Anyway, everything shows up as it should, but nothing happens when I click on it.

 

My code is as follows:

mDateChooser = new Infragistics.WebUI.WebSchedule.WebDateChooser();
mDateChooser.JavaScriptFileName = "Infra/ig_webscheduleinfo.js";
mDateChooser.JavaScriptFileNameCommon = "Infra/ig_shared.js";
mDateChooser.ID = string.Format("mDateChooser_{0}", this.Parameter.IteratorValue);
mDateChooser.Width = Unit.Percentage(100);
mDateChooser.Format = Infragistics.WebUI.WebSchedule.DateFormat.Short;
mDateChooser.ImageDirectory = "Images/";
mDateChooser.DropButton.ImageUrl1 = "ig_cmboDownXP1.png";
mDateChooser.DropButton.ImageUrl2 = "ig_cmboDownXP2.png";

 I'm kind of assuming that it's the javascript file. I've tried all that seem right, and I don't know how to specify more than one. Thanks.