Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BrowserFileHandling property
Collapse the table of content
Expand the table of content

SPWebApplication.BrowserFileHandling property

Gets or sets a value that controls how files are treated in the browser.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPBrowserFileHandling BrowserFileHandling { get; set; }

Property value

Type: Microsoft.SharePoint.SPBrowserFileHandling
SPBrowserFileHandling
A value that determines how files are treated in the browser. Strict specifies that MIME content types which are not listed in AllowedInlineDownloadedMimeTypes are forced to bedownloaded. Permissive specifies that the HTML and other content types which might contain script are allowed to be displayed directly in the browser.
Show:
© 2015 Microsoft