PDA

View Full Version : [CLOSED] IPad and DirectMethod Help



Aurelio
Mar 20, 2014, 7:57 AM
Hi, i have a problem whit the DirectMethod on the last versione of the IPad, this code not work:


<ext:Button ID="Button1" runat="server" Text="Entra" Scale="Medium" IconCls="login"
CausesValidation="true" OnDirectClick="LoginUser" >
<Listeners>
<Click Handler="
#{txtUtente}.validate();
#{txtPas}.validate();
if (!#{txtUtente}.isValid() || !#{txtPas}.isValid()) {
#{txtUtente}.focus(); // if non valid, focus the field.
return false;
};"
/>
</Listeners>
</ext:Button>


The code OnDirectClick="LoginUser" not call the method on server..

You have notice on this problem ? On the old IPad it's work ok.

Any call on the server side not work..

Thanks for any info...

Aurelio

Daniil
Mar 20, 2014, 8:04 AM
Hi @Aurelio,

Does it work if remove the Click listener?

Aurelio
Mar 21, 2014, 7:23 AM
HI..Daniil
Yes i have leave all the Listeners code, but the problem persist...
The mode of the IPad is the AIR



THanks
Aurelio

Daniil
Mar 21, 2014, 9:21 AM
Ok. Please provide a full test case.

Aurelio
Mar 21, 2014, 11:18 PM
Hi Daniil
this sample on your site

http://examples2.ext.net/#/Events/DirectMethods/Overview/


2. Return a string from an DirectMethod
If click on the button, on the IPad air not showing the alert box, on the old model of the IPad it's work ok...

I don't test if the problem is Safari..

Thanks
Aurelio

Vladimir
Mar 22, 2014, 12:29 AM
Hi,

I tested the online sample on IPAD Air (iOS 7.1) and I see message box, direct methods work fine for me
In any way, mobile devices are not supported officially and there may be issues

Aurelio
Mar 22, 2014, 11:26 AM
Hi..Vladimir
Thanks for the test,
I was interested to know if anyone worked on this model.
I know that mobile devices are not supported officially..
Now I'll check the settings of the IPad of my client..

Thanks for the test..

Close the post

Thanks
Aurelio