Calling a .Net Function from Javascript #4126
rachelYedatop
started this conversation in
General
Replies: 1 comment 4 replies
-
Firstly if you just want to close the window then calling https://developer.mozilla.org/en-US/docs/Web/API/Window/close should work by default in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @amaitland,
Thanks for all the help.
I tried the C # side to connect the Angular js (Angular1) side.
But it does not work for me. Maybe because of Js side? (to function:
closeApp()
)C#:
ScriptManager:
closeApp - the specific function:
Js side:
window.external.closeApp();
orwindow.closeApp();
Beta Was this translation helpful? Give feedback.
All reactions