|
Hello Everyone,
I am new to this forum.....
Just a question...
Is it possible to call code behind function from javascript?
Thanks...
|
|
|
yes, you can make web method like..
<WebMethod(EnableSession:=True), ScriptMethod()> _
Public Shared Function updateContent() As String
Return "Your String"
End Function
and then call in javascript like..
|
|
|
It is possible to call code from C# behind function from JavaScript. First, you should create button or link so that you can easily call function by one click. After this, use code “void Call_From_Server(Obj. sender, EA e)â€. This is an easy way for JavaScript to use C# coding or function.
|
|
|
|
|
|
|
|