WebMethodAttribute
Wisej.Core.WebMethodAttribute
Last updated
Wisej.Core.WebMethodAttribute
Last updated
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Indicates that the method can be called from the browser using JavaScript.
You can add this attribute to static methods in your Wisej application Program class and to instance methods in top level containers: Page, Form, and Desktop. If you want to register web methods on child controls, you can, but Wisej only searches top level containers automatically. To register web methods on a child control, extend the control class, override OnWebRender and call RegisterWebMethods.
Initializes the WebMethodAttribute attribute.
Initializes the WebMethodAttribute attribute.
Name | Type | Description |
---|---|---|
inheritable | Indicates whether the web method is inherited by derived classes. |
Boolean: Returns a value indicating whether the web method is inherited by derived classes.