[CLOSED] How to call a code behind method when a PanelForm gets valid

  1. #1

    [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi,

    I need to call a Code behind method when a PanelForm gets valid.

    Could you please tell me how to do it?


  2. #2

    RE: [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi Flor,

    How about after calling the .isValid() function on the FormPanel, if it returns true, then call a DirectMethod (AjaxMethod in v0.8.x).


    Hope this helps.


    Geoffrey McGill
    Founder
  3. #3

    RE: [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi,

    Could you please give me an example about how to do what you say?

  4. #4

    RE: [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi,

    if (FormPanel1.isValid()) {
        // Call your [DirectMethod]
        CompanyX.DoSomething();
    }
    Hope this helps.

    Geoffrey McGill
    Founder
  5. #5

    RE: [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi,

    I need call isValid wihout having to press any button in the form. In which place in the code will be this line?

  6. #6

    RE: [CLOSED] How to call a code behind method when a PanelForm gets valid

    Hi,

    Maybe the following example helps, see


    https://examples1.ext.net/#/Toolbar/StatusBar/Advanced/


    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] Call other window's method
    By FAS in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 14, 2012, 4:03 PM
  2. [CLOSED] DirectEvents call method codebehind
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 8
    Last Post: Sep 05, 2011, 3:03 PM
  3. Replies: 25
    Last Post: Jun 24, 2010, 9:36 PM
  4. Replies: 1
    Last Post: Mar 12, 2010, 6:18 PM
  5. method call
    By mono in forum 1.x Help
    Replies: 1
    Last Post: Mar 09, 2009, 6:46 AM

Posting Permissions