I am looking at adding another view to the backend under override void CreateViews.
| AddView("OfficeListView", "~/custom/backend/Offices/OfficeList.ascx", "View Office List", "View Office List", "all", null);
| AddView("OfficeEditView", "~/custom/backend/Offices/OfficeEdit.ascx", "Add an Office", "Add an Office", "all", null);
This will list Add an Office on the hand side. If I want to link to view I can just make a call to OfficeEditView.
|CreateHostViewCommand("OfficeEditView", office.OfficeId.ToString(), null);
What if I don't want to show Add an Office on the left, but I still want the call to the view via CreateHostViewCommand to be available?
I tried searching in the online developers manual for CreateViews, nothing returns. Can someone provide me a link in the documentations for those methods. I am sure I am missing cool items.