How to call a c# method in javascript function directly. (eg page_load method of code behind page). Please help me.
page_load
javascript would be client side and page_load would be serverside . I don think you can call the method as such. May be you can create a separate page just for that method and make a call via ajax