Jquery.Ajax() in Webforms without Static method

Asked

Viewed 26 times

0

Is it possible to run a codebehind void method without them being Static? I’m getting error return 500 when trying.

  • Is your method a Webmethod? How are you making this call?

  • short answer: No. Reason: https://stackoverflow.com/questions/18463189/why-webmethod-declared-as-static

  • But why do you need it to be void? do not use one or another web method that runs this and return anything...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.