Results 1 to 2 of 2

Thread: Method call from javascript

  1. #1
    Junior Member
    Join Date
    Apr 2006

    Smile Method call from javascript

    I would like to call a method from client side javascript.

  2. #2
    Junior Member
    Join Date
    Nov 2005

    Smile Re: Method call from javascript

    By using AjaxFramework of microsoft we can call sever side web method from javascript


    PageMethods.GetOptions(param1,OncallOptionCompleted,OncallOption Error);


    Get Option is Server side method declare as Public Webmethod in code behind file

    param1- parameter to funtion

    OncallOptionCompleted - after call server side method we will get value from this method
    OncallOption Error - this one call if any error occur in the server method

    I hope this one was clear to you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.