문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top