Call C# method inside a class file from javascript
<p>Is it possible to call a C# function which is inside a specific class file by javascript?</p>

<p>My Function is like this</p>

<pre><code>    public static void PrintPDF()
    {
    }
</code></pre>

<p>and this function is inside a class file <code>XSLTHelper</code>
In C# I can call this function by <code>XSLTHelper.PrintPDF();</code>.
Is there is any way to do the same from javascript?</p>
