Search code examples
asp.netasp.net-dynamic-data

set a default page in dynamic data


i am trying to set up a default page for my dynamic data website.. the problem is that its a template

so it would be something like this: Orders/List.aspx

can anyone please help me out with this..

Thanx

Owais F


Solution

  • You can create a Default.aspx page outside of your DynamicData folder as the default and just have that page redirect to the Orders/List.aspx page.

    protected void Page_Init(object sender, EventArgs e) {
       Response.Redirect("Orders/List.aspx");
    }