Blog Viewer

HTML Delete Button Properties Controls

  

ID

  • What it does: Programmatic ID of the control.
  • How to use it: Enter the text.
  • Other notes: This must be unique. It is prefixed with btn.



Visible checkbox

  • What it does: Determines whether the user can see the control.
  • How to use it: Click the checkbox to check or uncheck.



Mode

  • What it does: Determines whether the way the user opened the form affects the control. Options are All, New, and Update. All means that regardless of whether the user created new or opened existing, the control behaves the same. New is for creating new and Update is for opening existing.
  • How to use it: Select from the drop down.
  • Other notes: It defaults to All.



CSS Class

  • What it does: Custom style sheet class that controls cell appearance.
  • How to use it: Enter the text.
  • Other notes: If left blank, the appearance is default. The class must be configured in the MVVM project style sheet in the .NET project.



Custom Attributes

  • What it does: Custom attribute defined by the developer to be rendered on the HTML page.
  • How to use it: Enter the text.



Method Type

  • What it does: Method that executes when the user clicks the button.
  • How to use it: This property is read-only.
  • Other notes: This defaults to btnDelete_Click (Delete Selected Records). It deletes selected records in a grid based on the primary key and delete order configuration.



On Client Click

  • What it does: Displays a message when the user clicks the button.
  • How to use it: Select a message from the drop down.



Selection

  • What it does: Determines whether the user can delete selected items from the grid; and if so, whether they can delete one at a time or multiple at a time.
  • How to use it: Select the desired setting from the list.
  • Other notes: This defaults to None. Other options are One or Many.



Security Level

  • What it does: Determines the security level of the button. 
  • How to use it: Select the desired security level.
  • Other notes: This defaults to None. Other options are Read, Modify, New, Delete, or Execute.

Related Control

  • What it does: Identifies the grid the button affects.
  • How to use it: Select from the drop down.



Message ID

  • What it does: Identifies the custom message to display when the user clicks the button.
  • How to use it: Select from the drop down.



User Log Parameters

  • What it does: Specifies the control values that need to be logged.
  • How to use it: Click the magnifying glass icon and add the control(s) to the parameter field(s).


This post is part of the HTML Forms topic. Click here to open the HTML Forms Overview.

0 comments
15 views

Permalink