Set EnablePageMethods property of ScriptManager to \"true\" And inside Javascript we can directly use window.PageMethods.METHODNAME()
And inside Javascript we can directly use
window.PageMethods.METHODNAME()