Gridview rowupdating e oldvalues myspace dating clone
You should see an error message as shown in Figure 7.This way you can attach client side validation controls to the Grid View columns.These events are raised before updating and deleting the record respectively.
Out of these events Row Updating and Row Deleting are possibly the most common ones.
Click on the Edit button of the Grid View so that it goes into the edit mode.
Make Company Name blank and click on Update button.
Let's proceed further by validating on the server side.
We will use the Custom Validator control for this purpose.
Search for gridview rowupdating e oldvalues:
Note that by default all validation controls validate on the client side.