I was asked to create a mobile version of an existing site built in .NET 2.0.
The control (Date input) had been working fine until I included an UpdatePanel
in the page.
I am testing it using Firefox, Safari on a desktop (in iPhone mode), Safari on
the actual iPhone and Chrome on the iPhone as well, and an iPhone Emulator for
Windows.
The weird thing is when submitting the form using Firefox and the iPhone
Emulator the value entered is posted back. The other tests, the control value
(date) is null.
Any ideas what is going on here?
Thank you in advance!
Carlos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all.
I was asked to create a mobile version of an existing site built in .NET 2.0.
The control (Date input) had been working fine until I included an UpdatePanel
in the page.
I am testing it using Firefox, Safari on a desktop (in iPhone mode), Safari on
the actual iPhone and Chrome on the iPhone as well, and an iPhone Emulator for
Windows.
The weird thing is when submitting the form using Firefox and the iPhone
Emulator the value entered is posted back. The other tests, the control value
(date) is null.
Any ideas what is going on here?
Thank you in advance!
Carlos
I just found that there is a problem with partial postback using UpdatePanel
and Html 5 controls.
Here http://connect.microsoft.com/VisualStudio/feedback/details/651085
/partial-postback-updatepanel-do-not-post-new-html5-input-fields-type-
number
One of the users suggested to add hidden field and assign the value using
client scripts before the postback. This solution has worked well for me.
Cheers
Carlos