uidatepicker

Validating Date Range Produced By jQuery UI DatePicker

I am using the date picker provided by jQuery UI to select a date range that ends up in a single text input with something like 11/11/2008 - 12/05/2008. What would you recommend as far a validation (jQuery/JavaScript) on the client side as well as code for validation on the server side (ASP.NET/C#) to make sure the user enters valid dat...

iPhone / Cocoa UIDatePicker show only month and day

I'd like to have a UIDatePicker where the user can pick a month and a day but not the year. I'm aware that leap years have an extra day, so for simplicity, let's throw that day away. Is there any way to remove the year column or have 2 reels with month/day that act like the UIDatePicker (grey out days that don't exist in the selected mo...

Possible to "reset" a UIDatePicker's highlighted month/day/year?

I have a View Controller I'm reusing to edit individual objects (NSString, NSNumber, NSDate) in a previous View Controller's TableView. I'm loosely basing this off of the EditingViewController in Apple's SQLiteBooks sample project. the datePicker is instantiated in the nib file. The issue here is it works fine & dandy for the first dat...

UIDatePicker inside UIScrollView with pages

I have a UIScrollView with 2 pages, and I can scroll horizontally between them. However, on one of my pages, I have a UIDatePicker, and the scroll view is intercepting the vertical touch events so I can no longer manipulate the date picker (except by clicking or tapping). Is there some way to tell the ScrollView to send the vertical to...

UIDatePicker and NSDate

I have an app where I ask for the users birthday with a UIDatePicker then store it in standard user defaults. When the app is opened again I get the date again and then want to set the UIDatePicker to that date but it's crashing and not accepting the date. It's being stored in the format "June 8, 2009." How do I need to do this? This is...

Change UIDatePicker from 12 hour clock to 24 hour clock and back

Hello, I'm sorry to make my first question here a bit of a simple one -- I've spent a day reading the NSLocale and NSCalendar class descriptions but I couldn't see if this was possible. I have a UIDatePicker in the UIDatePickerModeDateAndTime mode. It is currently displaying date and time according to the user's locale, which is the d...

jQuery Datepicker to Trigger a POST

hi, i want to use jquery UI's datepicker to trigger a POST that would then load information from the date picked on the datepicker from my database. so i guess this is a two-part question is there a way i can make it so the datepicker date, when selected, just gets passed into a POST, so someone would click on jan 1 2010 and it would a...

Need to show only Weekday with Date UIDatePicker in iPhone

Hi is there any way to show only weekday with Date as: MON 03-JUL in UIDatePicker in iPhone. Please help. ...

Loading a UIDatePicker in Landscape on a UINavigationController

I have a custom UINavigationController that supports auto-rotate. I also have a UIDatePicker on one of my views that I throw onto the stack of the Navigation controller. The auto-rotate works if I start the date picker view in portrait and then rotate it. If I try load the date picker view in landscape to begin with, the view is all m...

jquery datepicker onChangeMonthYear

I am using the jquery ui datepicker in my app. I have created an inline datepicker. I am having a problem with onChangeMonthYear. I have simplified the example to bare minimum. Onclick of "prev" or "next", the calendar should: - Go to the previous/next month accordingly. Set the first day of that month as the current selected date. al...

Interface Builder UIDatePicker

is there a way to set the UIDatepicker to minute and seconds versus Hour and Minute edit I ended up adding my own UIPicker class, and creating the value and label myself. ...

Which should be the first responder: my view or UIDatePicker?

I'm creating sibling of UITextField, but with UIDatePicker instead of a keyboard. I want multiple such controls to play nicely with each other and also standard UITextField (i.e. swap keyboard for date picker when my control is activated, and hide date picker when a text field is activated). One thing that confuses me is handling of f...

Can I localize a UIDatePicker?

I'm trying to localize a UIDatePicker. Apple's docs say that it should autodetect the current locale, yet the language stays the same, no matter what language I select. What do I have to do? ...

Do you know a date picker to quickly pick one day of the current week?

Most date pickers allow you to pick the date from a tine calendar or enter the date by hand. For example http://jqueryui.com/demos/datepicker/ This requires - two clicks (one to display the calendar and one to select the correct date) - good eyesight (usually the pop-up calendar is very small) - and good hand-eye coordination to pick t...

UIDatePicker in UIActionSheet layering problem

Someone posted this code in another question to put a UIDatePicker in a UIAlertSheet: UIActionSheet *menu = [[UIActionSheet alloc] initWithTitle:@"Date Picker" delegate:self cancelButtonTitle:@"Cancel" destruct...

add eventhandler to jquery UI datepicker after its creation

I have the following scenario: In my masterpage I have: $(".datepicker").datepicker({ changeYear: true, changeMonth: true, dateFormat: "dd/mm/yy", duration: 'fast' }); With this, every input field that I assign the class "datepicker" to, shows the jquery UI datepicker when clicked. Now I have a datepicker on a page t...

Elegantly replace iPhone keyboard with UIPickerView

I have a table view that has embedded UITextFields for entering some data. It also has two other fields that popup a UIPickerView and a UIDatePicker - as demonstrated in the DateCell example from Apple. Mostly it works but I can't figure out how to cleanly transition from the text field keyboard to the other pickers - one slides out, o...

iPhone SDK UIDatePicker loses value if wheels are still scrolling

In the Clock application under alarms, this behavior can be verified. After creating a new alarm, try opening the alarm, editing the time of the alarm. WHILE THE DIAL IS STILL MOVING, hit the save button. The value you had scrolled to will be replaced by the value that the scrollers were last stopped at. I am using a UIDatePicker in a UI...

jQuery UI DatePicker - Change Date Format

Hi I am using the UI DatePicker from jQuery UI as the stand alone picker.. i have this code <div id="datepicker"></div> And the follow JS $('#datepicker').datepicker(); When i try to return the value with this code: var date = $('#datepicker').datepicker('getDate'); I am returned this... Tue Aug 25 2009 00:00:00 GMT+0100 (BST)...

Anyone know how to slide in a UIDatePicker like keyboard?

Does anyone know how to slide in a UIDatePicker with a Done button like the keyboard control? If so, can you share some sample code on how. Thanks ...