Get Url for the equivalent mobile site based on the current page of the full site
Namespace: DotNetNuke.Services.MobileAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public string GetMobileSiteUrl( int portalId, int currentTabId ) |
| Visual Basic |
|---|
Public Function GetMobileSiteUrl ( portalId As Integer, currentTabId As Integer ) As String |
Parameters
- portalId
- Type: System..::..Int32
Portal Id from which Redirection Rules should be applied.
- currentTabId
- Type: System..::..Int32
Current Tab Id that needs to be evaluated.