locked
Llamar metodo C#.net desde funcion JavaScript RRS feed

  • Question

  • hola buenas tardes.. existe una manera de llamar un metodo en C#.net desde una funcion javaScript..

    lo que me encontre es que se puede ejecutar el evento clik de un boton con esto..

     function AccionOkay() 
        {
            $get('btnEjecuta').click();
        }

    pero si no lo tuviera el codigo en un boton si no en un private void Carga ();

    • Moved by Min Zhu Friday, June 1, 2012 1:32 AM (From:.NET Base Class Library)
    Monday, May 21, 2012 8:10 PM

Answers

  • Hi,

    because this is an English forum you should ask your question in English or in your local forum to get better support.


    Best Regards. When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. This helps us build a healthy and positive community.

    • Proposed as answer by Mike Feng Tuesday, May 22, 2012 8:03 AM
    • Marked as answer by Mr. Wharty Thursday, June 7, 2012 2:48 AM
    Monday, May 21, 2012 8:16 PM