Adding Custom Webitems to the Webclass

See Also

You add custom webitems to your webclass to specify programmatic resources, rather than file-based resources, for your application. Unlike template webitems, which are linked to and manipulate HTML pages, custom webitems are containers that generally group a set of code procedures you want the webclass to be able to access from multiple places in the application.

There are several ways in which custom webitems are useful:

To add a custom webitem to a webclass

  1. In the Webclass Designer window, click the Add Custom WebItem button on the toolbar. A webitem appears in the treeview, beneath the Custom WebItems folder.

  2. To rename the webitem, use the Properties window to specify a name.

To remove a custom webitem from the webclass

For More Information   See "Webclass Events" for more information on custom events. See "Specifying URLs for Webitems" for more information on using the URLFor method.