|
About the order of validation controls
I am currently writing an edit page. Read "Name" and "Picture" from the database. Including editing and deleting 2 LinkButtons. Both are bound to the repeater.
Then lower is a text box and an upload file control. These two controls are mainly used to fill in or modify the data of the repeater. These two controls are added with the RequiredFieldValidator control.
The problem comes; when clicking the "Delete" button. The following RequiredFieldValidator will dynamically prompt information. Now I want to click the "Delete" button. The RequiredFieldValidator control does not affect this event. Ability to perform delete events. |
|