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.
It appears they have fixed this issue. I just upgraded my project to 2008 volume 1 for the .NET 3.5 framework and tabbing off the control now fires the ValueChanged event.
I ended up doing a dirty work around. I put in client code to catch the date change event then in the JavaScript would do a submit() on a hidden button to get it to post back to the server. Not that elegant, but it works. It is a little concerning that Infragistics just does not care and that nobody has really responded to this issue.
Has a solution to this issue been found yet? I am having the same issue.
I am suffering through the exact same problem. The control posts back to the server ONLY when the date is selected from the calendar drop down. It does NOT post back if the user types in the date and tabs through the control.
I have AutoPostBack-ValueChanged="true" in my WebDateChooser markup text and I also added the <AutoPostBack ValueChanged="True" /> -- but it only posts back on user click of the calendar.
Is there a solution or fix?
Hello Matt!
I have a similiar problem. I set the autoPostBack on true, once in the html-part, once in the program. But i only get the autopostback, if i press the Return-Button after changing the date or pick the date from the calendar. If i leave the field with the tabulator i don't get a autoPostback. What are i'm doing wrong? Or how can get the webDateChooser autopostback when i leave the field with the curso?
Thanks, Martin.