October 2010
Intermediate to advanced
1920 pages
73h 55m
English
If you make changes to the user controls in the FieldTemplates, PageTemplates, EntityTemplates, or Filters directory, those changes apply to all entities for which your application provides scaffolding.
To see how this works in action, let’s modify the list template to pretty up the message that we get when no records are found. This message displays when there are no records and when the search criteria returns no results. To help clarify that, we change the text a little.
Open the List.aspx page in the PageTemplates folder, and scroll down to the GridView1 grid view control and locate the EmptyDataTemplate element. Replace it with the following:
Now when we run the application, no matter which table we view, ...
Read now
Unlock full access