hi guys, i wonder how can i use javascript to call a function in CodeBehind.
below is what i trying to do but Not working for me.
My Javascript in HTML...
<script type = "text/javascript">
function RefreshGridview() {
PageMethods.BindGrid();
}
</script>
my Function in CodeBehind.
Public Function BindGrid()
DT = product.return_result()
Me.GridView_gallery.DataSource = DT.DefaultView
Me.GridView_gallery.DataBind()
End Function
Go to the complete details ...