Produces a FilewView URL for a file.
User can use ViewFilePageUrl property which by default reads the URL rewriting rules from the web.config. FileID and ReturnPageId placeholders are to be replaced with the file id value and the id of the referring page.
Alternatively, ViewFilePageId can be used from code (by setting it to page.ID value) or Properties panel (by using page picker control). No placeholders are used in such case.
Namespace: MonoSoftware.MonoX.ModuleGallery.SocialNetworkingAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public string GetNavigateUrl(
Guid id
) |
Visual Basic |
---|
Public Function GetNavigateUrl (
id As Guid
) As String |
Visual C++ |
---|
public:
String^ GetNavigateUrl(
Guid id
) |
F# |
---|
member GetNavigateUrl :
id : Guid -> string
|
Return Value
Type:
StringURL of the file view page.
See Also