Thanks for that link. So I've got the view setup and am getting a route in the querystring. When navigating to the url with the route though I just get the same view instead of navigating to the requested view? Where should I start in trying to debug why this would happen?
FYI this example is with the module being hosted inside a page on the site, not in the admin.
So I have two views, ClientsListView which is the default view, thoguh I'm nto sure how the default view is defined.
The second view is the ClientsCreateWizard
I navigate to /Clients.aspx
and on that page is the a link to /Clients.aspx?route=ClientsController.ClientsCreateWizard
When I click that link I just get the same ClientsListView
From the Controller (ControlPanel)
protected override void CreateViews()
From the ClientListView
protected override void InitializeControls(Control controlContainer)
//Route is set here.
AddNewClientButton.NavigateUrl = CreateRootViewCommand(typeof (ClientsController), typeof (ClientsCreateWizard));
SearchButton.Click += SearchButton_Click;
//Pull Information from the Data Manager (Provider)
Info info = (Info)_manager.GetInfo();