WebMethodAttribute
Wisej.Core.WebMethodAttribute
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Indicates that the method can be called from the browser using JavaScript.
public class WebMethodAttribute : Attribute
Public Class WebMethodAttribute
Inherits Attribute
public class MyButton : Button
{
protected override void OnWebRender(dynamic config)
{
base.OnWebRender((object)config);
RegisterWebMethods(config);
}
}
Constructors

WebMethodAttribute()
Initializes the WebMethodAttribute attribute.

WebMethodAttribute(inheritable)
Initializes the WebMethodAttribute attribute.
Indicates whether the web method is inherited by derived classes.
Properties

Inheritable
Boolean: Returns a value indicating whether the web method is inherited by derived classes.