Callback to Server-Side - Custom Client Events
From Visual WebGui Wiki
| This article is being worked on by Gizmox. Please do not change it's contents in the meantime. |
Contents |
Overview
This article will explain how to call Visual WebGui server-side from the client-side using custom events.
At this stage this article is being worked on and so, you should use the referenced threads below for detailed instructions.
Usage
This can be in the scope of customizing a specific control, or in the scope of a specific application.
Beginning with Visual WebGui 6.4, you can add resources in a Theme in a common scope - not in the scope of a specific control.
This means that even if no out-of-the-box Visual WebGui control is used in your application, you will still get your added resource.
The FireEvent method for overriding is introduced as far deep in inheritance as the RegisteredComponent class.
ComponentBase -> RegisteredComponent -> Component -> Control -> ContainerControl -> ScrollableControl -> Form
As a best practice though, you should only derive from the Component class and it's derivatives (not any class higher in inheritance).
