Gets or sets a value that indicates whether static page methods on an ASP.NET page can be called from client script.
Syntax
CSharp
VisualBasic
ManagedCPlusPlus
JSharp
/** @property */
/** @property */
Value
Return Value
true if static page methods on an ASP.NET page can be accessed from client script as Web methods; otherwise, false. The default is false.
Remarks
You can add static page methods to an ASP.NET page and mark them as Web methods. You can then call these methods from script as if they were part of a Web service, but without creating a separate .asmx file. To create Web methods on a page, import the System.Web.Services namespace and add a WebMethodAttribute attribute to each static method that you want to expose.
For more information, see Exposing Web Services to Client Script.
Assembly: System.Web.Extensions (Module: System.Web.Extensions)