Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当路径指的是实际的文件夹结构并指向页面时,这不是问题,即“/Default.aspx/MyMethod”,但是如果“/”调出“Default.aspx”,那么“/MyMethod”的含义就不同了. 甚至有可能吗?
一种可能的解决方案,也可能是更好的解决方案,是使用 Web 服务,这是我目前正在使用的。
您可以添加以下内容:
PageMethods.set_path('/yourpage.aspx');
我在这里找到了这个解决方案