Personal Web & Sample Site
Skip Navigation Links
About Me |
| Contact Us
Custom Formatting - Gridview Template Field Example
Rating: 6 user(s) have rated this article Average rating: 4.5
Posted by: joet, on 8/10/2011, in category "MS SQL"
Views: this article has been read 4348 times
Location: Houston, Tx, United States
Abstract: In this example we are showing how we can make use of the template field. The example shows how we can concantenate the first and last name into one field. You can choose to delete both the first and last name fields or you can add to either one. In this example I deleted the last name field and then coverted the first name field to a template field and of course changed the text heading to "Name".

The example is shown here converting the date hire field to a template field and then replacing the label control with a calendar web control. I binded both the visibleDate and SelectedDate bindable properties without two way binding and made sure that the viewState was set to true in the event a user attempts to change the date, on post back it will always revert back to the underlying data source, which in this case is the actual employee hire date.


Go here for example!


How would you rate this article?

User Feedback
Comment posted by Mike on Tuesday, November 26, 2013 2:31 PM
This is another test!

Post your comment
Insert Cancel

Copyright © 2013 Jose M. Tamez
Last Updated August 18th 2013