DynamicDataRoute.ViewName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the .aspx page that is associated with a route.
public:
property System::String ^ ViewName { System::String ^ get(); void set(System::String ^ value); };
public string ViewName { get; set; }
member this.ViewName : string with get, set
Public Property ViewName As String
Property Value
The name of the .aspx page that is associated with the route. If no page is specified for the route, the property returns the value of the Action property with ".aspx" appended to it.
Remarks
Dynamic data uses several standard .aspx page names to create the UI to let users view, update, and delete data from a given table. These page names include List.aspx, Details.aspx, Edit.aspx, Insert.aspx, and ListDetails.aspx. The ViewName property specifies which of these pages should be used for a given table and action.