d00_ape
January 30th, 2009, 07:07 AM
How can I force a postback and call a codebehind funktion from javascript?
I want to do something like this:
aspx-file
<script type="text/javascript">
function OnRowSelecting(sender, args)
{
ServerFunc();
}
</script>
Codebehind c# file
private void ServerFunc()
{
//…
}
I want to do something like this:
aspx-file
<script type="text/javascript">
function OnRowSelecting(sender, args)
{
ServerFunc();
}
</script>
Codebehind c# file
private void ServerFunc()
{
//…
}