Announcement

Collapse
No announcement yet.

Ajax events are not being triggered

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ajax events are not being triggered

    Does anyone know why the AJAX events are not being triggered?

    I'm using sc_apl_conf('form', 'start', 'new'); to start the app with no search and the AJAX events I've created doesn't work. Any fix for this?

  • #2
    Hello,

    sc_apl_conf does not work on ajax event. Please see the macro scope: http://downloads.scriptcase.com.br/d...tm#sc_apl_conf

    Also notice that: This macro must be used by one application to modify the properties of another application.

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      Thanks for the answer. Is there another way to start the application without the search? I need the form in blank. Like in "add" mode.

      Regards,

      Comment


      • #4
        Hello,

        On the application that calls your form (for instance, your menu) you will set sc_apl_conf('form', 'start', 'new');

        See this example:

        Ex. 8: Use the button on the toolbar menu.
        if ({sc_menu_item} == "btn_1")
        {
        sc_apl_conf("form_customer", "start", "new");
        }

        regards,
        Bernhard Bernsmann

        Comment


        • #5
          Thanks, bartho, but the problem with this is that when I use it I can't use the ajax events given by ScriptCase.

          Comment

          Working...
          X