David, that works great!
For others to see:
In "global.asax":
// This route uses a different page for each action. To use an all-in-one page instead, please
// comment out this route and uncomment the following two
routes.Add(new DynamicDataRoute("{table}/{action}.aspx")
{
Constraints = new RouteValueDictionary(new { action = "List|Details|Edit|Insert|View2" }),
Model = model
});
In a custom page folder in the list file "List.aspx":
"View2Link" runat="server"
NavigateUrl='<%# table.GetActionPath("View2", GetDataItem()) %>'
Text="View2">
"EditHyperLink" runat="server"
NavigateUrl='<%# table.GetActionPath(PageAction.Edit, GetDataItem()) %>'
Text="Edit">
"DeleteLinkButton" runat="server" CommandName="Delete"
CausesValidation="false" Text="Delete"
OnClientClick='return confirm("Are you sure you want to delete this item?");'
>
"DetailsHyperLink" runat="server"
NavigateUrl='<%# table.GetActionPath(PageAction.Details, GetDataItem()) %>'
Text="Details">
Thanks,
Tommy
Sorry for the poor formatting of the code. I keep struggling to figure out how to get a well formatted message displayed on this site.
Even when I use the "Source Code" option the white space is always out of whack.