Rowupdating boundfield Naughty facetime app

Double click on the Custom Validator control to go into the Server Validate event handler and write the following code in it. However, at times you many need more control and flexibility than that is provided by validation controls.Here, our validation criteria is that the entered name must not contain title of courtesy (Mr./Mrs./Ms.). That is when you can handle certain events of Grid View control.

rowupdating boundfield-84rowupdating boundfield-17

If you need more control you can also handle Row Updating or Row Deleting events of the Grid View.

Note that by default all validation controls validate on the client side.

Right click on the Grid View and select “End template editing” Run the web form.

Now from the smart tag of the Grid View choose “Edit Template” and then select “Edit Item Template” of Company Name column.

This will display the template designer for the column as shown in Figure 6.

Leave a Reply