For anyone it may help in the future - as suggested I added a
javascript event handler for the submit event and did the following:

1. Cancelled the default action (the form submit)

2. invoked my AJAX call

3. Closed the keyboard (by focusing on the button)

This seemed to handle all my issues.

                if (currentPage.id == 'find') {
                        event.preventDefault();
                        ajaxManager.ajaxRequestWithTarget('<%= btnFind.UniqueID 
%>',
'');
                        var btn = document.getElementById('<%= btnFind.ClientID 
%>');
                        if (btn)
                                btn.focus();
                }


On Oct 1, 5:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Any way to get any additional information - such as what field was
> being "used" at the time of submission?
>
> What does the RETURN/GO/SEARCH button on the iPhone keyboard actually
> do?
>
> On Oct 1, 4:38 pm, Chrilith <[EMAIL PROTECTED]> wrote:
>
> > You need to put an onsubmit handler on your form and send the
> > appropriate __doPostBack.
>
> > On Oct 1, 9:26 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
>
> > > Hello!  I'm hoping someone has been down this road before -
>
> > > I have a large scale ASP.NET application and I was hoping to build a
> > > iPhone optimized version.  I've got everything working well but I'm
> > > running in to a tough time with so AJAX callbacks via the iPhone.  If
> > > the user utilizes the buttons on the page - everything works fine but
> > > if they fill in a form field and then hit the GO (or SEARCH) button in
> > > the BOTTOM RIGHT corner of the iPhone keyboard the .NET
> > > "defaultButton" settings are ignored and the page is submitted/
> > > reloaded.
>
> > > No .NET events are fired and nothing is done.  Is there any way to
> > > intercept the GO/SEARCH button and have it behave properly w/ .NET
> > > (submit using the proper button)?
>
> > > Thanks ahead of time...
> > > Bill

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to