[CLOSED] IPad and DirectMethod Help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] IPad and DirectMethod Help

    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
    Last edited by Daniil; Mar 22, 2014 at 3:39 PM. Reason: [CLOSED]
  2. #2
    Hi @Aurelio,

    Does it work if remove the Click listener?
  3. #3
    HI..Daniil
    Yes i have leave all the Listeners code, but the problem persist...
    The mode of the IPad is the AIR



    THanks
    Aurelio
  4. #4
    Ok. Please provide a full test case.
  5. #5
    Hi Daniil
    this sample on your site

    https://examples2.ext.net/#/Events/D...hods/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
  6. #6
    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
    Vladimir Shcheglov
    Sr. Developer

Similar Threads

  1. [FIXED] [#117] [3.1.0] IPad Development
    By rnachman in forum Bugs
    Replies: 11
    Last Post: Feb 10, 2015, 8:55 AM
  2. [CLOSED] Ipad 3 layout issues
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 21, 2012, 12:22 PM
  3. [CLOSED] Problem with menus under ipad
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 29, 2011, 10:08 PM
  4. AutoScroll on Safari Ipad
    By caha76 in forum 1.x Help
    Replies: 2
    Last Post: Aug 10, 2011, 5:51 PM
  5. Ipad
    By Pablo_Azevedo in forum Feature Requests
    Replies: 6
    Last Post: May 27, 2011, 2:05 PM

Posting Permissions