<asp:linkbutton id= "Lkbtndelete" runat= "Server" causesvalidation= "False" commandname= "Delete"
text= "Delete" commandargument= ' <%# Eval ("i_id")%> ' onclientclick= ' return confirm (' Are you sure you want to delete it? ‘);" ></asp:LinkButton>
CausesValidation: This property is primarily used when the Submit button is clicked, whether the validation control performs validation, and if the validation fails, the commit of the button is not executed. When CausesValidation is True, indicates that the button is clicked and the validation on the page is performed. If False, indicates that the button is clicked without triggering validation on the page.
Use the CommandName property to determine which command to execute. The CommandName property can contain any string that is set by the programmer. The programmer can then identify the command name in the code and perform the appropriate task.
CommandArgument: A primary key in the binding database
OnClientClick is used to execute client script. When we click a button, the first thing to do is the OnClientClick event, according to OnClientClick The return value of the event to determine whether to execute the onclick event to postback the page. Its return value is true and
False, the OnClientClick return value is true by default.
About Background Management LinkButton button several important properties of understanding