How to call a c# method in javascript function directly. (eg page_load
method of code behind page). Please help me.
You have multiple choices and each choice has its own pros and cons.
window.location.reload()
and the load event of your page will be called. jQuery
or Ajax.Net Professional or ASP.NET Ajax's update panel.