Currently, I am facing an issue where I need to download a list of PDF files and then pass the names of these files as parameters to a method in the code behind. I have attempted using Page Methods and Web Methods, but encountered limitations due to their static nature which prevented me from utilizing Response.
I learned that employing a web service could be a solution since it allows for non-static methods. However, implementing this approach seems complex as I only require invoking a single non-static method in the code behind.
Considering my lack of experience with Web Services, I am unsure about the level of intricacy involved in writing the necessary code for a simple method call. Previously, working with Page and Web methods proved to be relatively straightforward. Can someone provide guidance or a clear example on how to address this scenario? My goal is to invoke the method from JavaScript.
Thank you in advance, Best regards.