File view Web part is almost exclusively used in combination with the File gallery Web part to display files in a "single file view" mode. It can properly recognize image and video file types and generate proper viewers for such file types. If a File view contains files of another type (for example, Word or PDF document), it redirects the request directly to the file URL, so the browser can handle document download and display.
Namespace: MonoSoftware.MonoX.ModuleGallery.SocialNetworkingAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public class FileView : BaseAutoRegisterPart, IExcludeAutoRegisterPart |
Visual Basic |
---|
Public Class FileView Inherits BaseAutoRegisterPart Implements IExcludeAutoRegisterPart |
Visual C++ |
---|
public ref class FileView : public BaseAutoRegisterPart, IExcludeAutoRegisterPart |
F# |
---|
type FileView = class inherit BaseAutoRegisterPart interface IExcludeAutoRegisterPart end |
Inheritance Hierarchy
System..::..Object
System.Web.UI..::..Control
System.Web.UI..::..TemplateControl
System.Web.UI..::..UserControl
UserControlBase
MonoSoftware.MonoX..::..BasePart
MonoSoftware.MonoX..::..BaseAutoRegisterPart
MonoSoftware.MonoX.ModuleGallery.SocialNetworking..::..FileView
System.Web.UI..::..Control
System.Web.UI..::..TemplateControl
System.Web.UI..::..UserControl
UserControlBase
MonoSoftware.MonoX..::..BasePart
MonoSoftware.MonoX..::..BaseAutoRegisterPart
MonoSoftware.MonoX.ModuleGallery.SocialNetworking..::..FileView