Page 1 of 2First   Previous   [1]  2  Next   Last   

Adding Validation Controls to the Editing and Inserting Interfaces:Step 1-Replicating the Example from “Examining the Events Associated with Inserting, Updating, and Deleting”

This step of the VIDEO TUTORIAL will demonstrate on how to add validation controls to the inserting and editing interfaces of the DetailsView and GridView controls. Instead of a creating these preceding controls and binding them to an ObjectDataSource to demonstrate our tutorial, the code from DataModificationEvents.aspx page of the project to UIValidation.aspx of the EditInsertDelete folder. For detailed information and source code for this step, please refer to the original article.

  View Video...

Adding Validation Controls to the Editing and Inserting Interfaces:Step 2-Converting the BoundFields Into TemplateFields

In this step of the VIDEO TUTORIAL (included in Step1), the bound fields of the inserting and editing interfaces of DetailsView and GridView controls are converted to TemplateFields. This is achieved by clicking the Edit Fields through the smart tag of DetailsView and GridView controls respectively. For detailed information and source code for this step, please refer to the original article.

  View Video...

Adding Validation Controls to the Editing and Inserting Interfaces:Step 3- Adding the Validation Controls to the GridView's EditItemTemplates

This step of the VIDEO TUTORIAL will familiarize on how to add validation controls to the editing interface of the GridView’s EditItemTemplates. A RequiredFieldValidator to enforce the ProductName and a CompareFieldValidator to enforce proper format the value to be entered in the UnitPrice field are added. In addition, a message label for warning the end user with any error messages will also be added. For detailed information and source code for this step, please refer to the original article.

  View Video...


Copyright 2007-2011 by dotnetvideos.net   |  Privacy Statement  |  Terms of Use