Hi,
i'm creating a WebDateChooser control dynamically on Load event of a form, and displaying current date as its default date. When the Form Loads the control always shows in EXPANDED mode unless u select a date from the calender it doesn't collapse. Any idea how to display this control in COLLAPSE mode because most of the time there is no need to select any other date than today's.
a quick response will be highly appreciated.
This doesn't sound like correct behavior. WebDateChooser should always render to the page in its "collapsed" state.
Have you set an ID on your dynamically-created WebDateChooser?
Yes i'm surely assigning ID to the Control but still i don't think it has any thing to do with the ID property.
Any other Ideas why it's behaving like this ?
This is unusual behavior. What browser/OS are you using?
I'm not promising anything, but if you post your markup and any code that minipulates the control, someone might spot the problem.
set ShowDropDown = false