I have an Infragistics.WebUI.WebSchedule.WebDateChooser on a form and I handle the ValueChanged event as follows ...
this.calendar1.ValueChanged += new Infragistics.WebUI.WebSchedule.WebDateChooser.ValueChangedEventHandler(this.sp1);
private void sp1(object sender, Infragistics.WebUI.WebSchedule.WebDateChooser.WebDateChooserEventArgs e)
{ this.txtBox1.Text = SPPConvert.ToString(this.calendar1.Value); }
This simple method populates a textbox with contents of the WebDataChooser and fires when I select the date using the dropdown OR when I manually enter a date and press enter. It does not fire if I manually enter a date and simply tab off the control. How can I get it to do this?
Any help here is greatly appreciated - I'm stuck!
Thanks,
Karen.
I have set the Mindate for the Webdatechooser.i want to differentiate the other dates before MinDate that is setting the background color or the date in Striked format.Can any one help me in doing this Please.........
HI KarenMcd,
You need to set the WebDateChoosers postback property to true.
Here is a code snippet..
WebDateChooser1.AutoPostBack.ValueChanged = true;
Here is a help link
http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Infragistics2.WebUI.WebDateChooser.v8.1~Infragistics.WebUI.WebSchedule.WebDateChooserAutoPostBack_members.html