I have c# function which returns true/false, I want a JavaScript function to call this c# function and depending on the return value of the c# function, if true, I need the JavaScript function to show an alert.
So please How can I call a c# function in a JavaScript function? Thank you