Share via


Visual InterDev

                           

Creates an HTML button on the client browser.

Remarks

The Button script object is implemented on the client as an HTML <INPUT> tag where TYPE=BUTTON or TYPE=IMAGE.

At design time, you can use the Button design-time control to create a Button object. The Button control has a custom property page that makes it easier to control the behavior of the Button object.

To control how the button is displayed, call the hide, show, and isVisible methods.

Tip   When the scripting platform is set to server (ASP), use a server-side onclick event to call an event handler. When a user clicks the button, the page is submitted to the server where the onclick event is processed.

For more information on scripting and objects, see Scripting with Design-Time Controls and Script Objects.