which is the best way to create a custom error page in sharepoint ?
سؤال
Which is the best way to create a custom error page in SharePoint ?
المحلول
Depends what you mean by "best". The easiest way: In your web.config file: in the <system.web> section, modify the customErrors element to:
<customErrors mode="On" defaultRedirect="/Pages/MyCustomErrorPage.aspx" />
نصائح أخرى
Write a HttpModule to handle the onerror event, and redirect to the custom error page.
لا تنتمي إلى sharepoint.stackexchange