Hi Jeff,
Thanks to your code, I added these two methods to make value update
correctly:
public override UIDatePicker CreatePicker ()
{
var picker = base.CreatePicker ();
if (!UserInterfaceIdiomIsPhone) {
picker.ValueChanged += HandleValueChanged;
}
return picker;
}
void HandleValueChanged (object sender, EventArgs e)
{
this.DateValue = (DateTime) ((UIDatePicker)sender).Date;
GetImmediateRootElement().Reload(this,
UITableViewRowAnimation.None);
}
Do you have any suggestion for dismissing the keyboard when the picker is
up?
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/How-do-I-make-DateTimeElement-datePicker-show-up-in-a-popover-tp4658091p4658101.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch