Gridview template button rowcommand
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Grid View. Please rate your experience Yes No. Active Oldest Votes. ToInt32 e. Ali Ali 2, 1 1 gold badge 14 14 silver badges 23 23 bronze badges. I've found using "Edit" as the command name will always do the default edit. Need to use "myedit" or some other command string.
Community Bot 1 1 1 silver badge. Hi Naveen and Ali Shahrokhi thanks for ur answers i tried both method and implemented thanks a lot Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Asked by:. Archived Forums. Web Forms Data Controls. Sign in to vote. I use the following template in a GridView that fires a RowCommand Id is property of my bounded datasource Any additional feedback? Namespace: System. WebControls Assembly: System. Note To determine the index of the row that raised the event, use the CommandArgument property of the event argument that is passed to the event. In this article.
Cancels an edit operation and returns the GridView control to read-only mode. Raises the RowCancelingEdit event. Deletes the current record. Raises the RowDeleting and RowDeleted events. Puts the current record in edit mode.
Raises the RowEditing event.
0コメント