Sukumar M S

Sukumar M S

  • 1.7k
  • 130
  • 1.7k

Logging client side error(JS file added in a visual webpart)

Apr 17 2019 2:09 AM

I have a visual webpart, where there is a JS file added to it.

Now i need to log the errors which occur in the JS to my local drive.

What we need to know is how to push the error message from client side to server side. In sharepoint terms - JS file added in the webpart to Code behind file of Visual webpart.

Few code examples are also required. Thanks in advance


Answers (1)