Hi
I have created a custom application page and I have deployed it to _admin. I then have a feature which creating a link to the page from the Applications Management page within SharePoint Administration. This is all fine. On my page I have an OK and Cancel button. When I click these button I want to return back to _admin/applications.aspx.
If I use the following code with the click event I get returned to the layouts section.
SPUtility.Redirect("applications.aspx", SPRedirectFlags.UseSource | SPRedirectFlags.RelativeToLayoutsPage, this.Context);
Does anyone know if there is an equivilant Admin section method.
One thought is that the command is correct but I am inheriting from layoutsPageBase instead of WebAdminPageBase. The only problem is that when I deploy my solution while inheriting from WebAdminPageBase I get the following error
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
Does anyone how to solve this error or if there is an equivalent command to SPRedirectFlags.RelativeToLayoutsPage for the admin section.
Thanks in advance
Paul