MG.generateServerEvent method
Description
Use MG.generateServerEvent
to send a message to the server-side assembly
associated with this user control. This is similar to the
WSUserControl.generateServerEvent
method in previous versions.
Syntax
MG.generateServerEvent(payload)
Parameters
This table describes the method parameters.
Name | Type | Description |
---|---|---|
payload | Object | Specify a string or object that contains the data to be sent to the server-side assembly. |