Personal notes on software development.
For Java technologies check my dedicated site

Pages

Important Properties:

  • CausesValidation [1] indicate whether or not clicking the Button should initiate the validation logic (defaults to True). For example, when the user introduced some invalid data on the form and wants to click the Cancel button. This Cancel button shouldn't listen to the validation logic and carry on the execution.
  • CommandName [2] when a Button, LinkButton, or ImageButton whose CommandName property is set is clicked from within a Repeater or DataList, the Repeater or DataList s ItemCommand event is raised. For the DataList, if the CommandName property is set to a certain (special) value, an additional event may be raised as well. This special CommandName property values include, among others:
        1. "Cancel": raises the CancelCommand event;
        2. "Edit": raises the EditCommand event;
        3. "Update": raises the UpdateCommand event;
        4. "Delete": raises the DeleteCommand event;

Related articles:
[1] - Adding Validation Controls to the DataList's Editing Interface
[2] - An Overview of Editing and Deleting Data in the DataList

No comments:

Post a Comment