J
jurot
Hi,
Can anybody advice me please,how can I use my WebForm members (defined
in codebehind, e.g. index.aspx.cs) in JavaScript script in
index.aspx.
For example:
public class WebForm1 : System.Web.UI.Page
{
public void XY()
{
...
}
}
[index.aspx]
...
<script language="JavaScript">
function CallingXY()
{
//HERE I WANT TO CALL WebForm1.XY()
}
</script>
...
And also how can I use JavaScript functions in codebehind
(index.aspx.cs)?
Thank you very much.
Can anybody advice me please,how can I use my WebForm members (defined
in codebehind, e.g. index.aspx.cs) in JavaScript script in
index.aspx.
For example:
public class WebForm1 : System.Web.UI.Page
{
public void XY()
{
...
}
}
[index.aspx]
...
<script language="JavaScript">
function CallingXY()
{
//HERE I WANT TO CALL WebForm1.XY()
}
</script>
...
And also how can I use JavaScript functions in codebehind
(index.aspx.cs)?
Thank you very much.