AJAX Page - ExecBeforeLoad method

This method is used in the processing page to trigger a client-side function from the server,
before the processing starts.

After the client-side function is executed, the server-side processing continues.

You can have unlimited number of ExecBeforeLoad methods, and as a parameter
you can have a javascript code or the name of a javascript function.

Here is a short example:

    public string onClick(int myInt)
    {
        // ExecBeforeLoad examples
        ExecBeforeLoad("alert('some text')");
        ExecBeforeLoad("someCustomFunction()");

        // return the number received as argument multiplied by 10
        return myInt * 10;
    }
		


See also ExecBeforeLoad example.

"First of all, Thanks to all of you for helping me in cruch situations... Your precious help is just more than to be expressed rather appreciated in words... Really Thank you..."

Abhisek Singh

Random testimonial   All testimonials