Share via


Button

The Button element represents a button on a toolbar in the Web application configuration file (isv.config).

Example

<Button Title="Test" ToolTip="Info on Test" Icon="/_imgs/ico_18_debug.gif"
   Url="https://www.microsoft.com" PassParams="1" WinParams="" WinMode="0"/>

Attributes

Title

Specifies the name of the button.

ToolTip

Specifies the ToolTip that appears for the button.

Icon

Specifies the file name of the icon for the button.

Url

Specifies the URL to be opened for the button.

PassParams

[optional] Specifies whether the object type and object ID parameters are to be passed to the URL.

WinParams

Specifies the parameters to be passed to the window. The format of this parameter is different depending on the value of the WinMode parameter.

For WinMode = 0, see the MSDN Library topic "open Method," located at msdn.microsoft.com/workshop/author/dhtml/reference/methods/open_0.asp?frame=true.

For WinMode = 1 and 2, see the MSDN Library topic "showModalDialog Method," located at msdn.microsoft.com/workshop/author/dhtml/reference/methods/showmodaldialog.asp?frame=true.

WinMode

[optional] Specifies the window mode. Values are 0 = Window [default], 1 = Modal Dialog, or 2 = Modeless Dialog.

Element Information

Number of occurrences One or more
Parent elements ToolBar
Child elements None

© 2005 Microsoft Corporation. All rights reserved.