Forum Discussion

nesonar's avatar
nesonar
Ideator I
6 years ago
Solved

How to show confirm message box on server side event in aras??

Hi team,

How to show confirmation message box on server side event ??

I need to show confirm message on onAfterAdd event.

Please guide us.

  • Hello Nesonar, 

    I din't think so it is possible in Aras to show confirmation message box on server side.

    You need to use client side method and from that method you need to write code for client side confirmation message box.

    Based on message box user input, call your server side method.

    Regards,

    Suhas

3 Replies

  • Suhas's avatar
    Suhas
    Creator III

    Hello Nesonar, 

    I din't think so it is possible in Aras to show confirmation message box on server side.

    You need to use client side method and from that method you need to write code for client side confirmation message box.

    Based on message box user input, call your server side method.

    Regards,

    Suhas

    • nesonar's avatar
      nesonar
      Ideator I

      where to apply client side method on server side??

      Please provide sample 

      Thanks for advanced. :) 

      • Suhas's avatar
        Suhas
        Creator III

        Hello Nesonar,

        Please find the below screen shot.

        attach here your javascript client method.

        from javascript method open confirmation box:

        var txt;
        if (confirm("Press a button!")) {
        txt = "You pressed OK!";
        } else {
        txt = "You pressed Cancel!";
        }

        based on txt take your action. or call your server side c#/VB method.

        Regards,

        Suhas