public void SetReaderMode() { if (HasRelatedContentPanel) { if (RelatedContentController != null) { RelatedContentController.Invoke("setReaderMode"); } } }
public void LoadRelatedNodeHtmlContent(string content, int width = 0, int height = 0) { if (HasRelatedContentPanel) { if (RelatedContentController != null) { RelatedContentController.Invoke("loadRelatedContent", "nodeHtml", content, width, height); } } }
public void ResetAndHidePanels() { if (HasRelatedContentPanel) { if (RelatedContentController != null) { RelatedContentController.Invoke("resetAndHidePanels"); } } }
public void LoadRelatedVideoContent(string videoSourceUrl, VideoSize videoSize) { if (HasRelatedContentPanel) { if (RelatedContentController != null) { string sizeValue = videoSize.ToString().ToLower(); RelatedContentController.Invoke("loadRelatedContent", "video", HttpUtility.UrlEncode(videoSourceUrl), sizeValue); } } }
public void MapLoadedCallback(bool rootMapLoaded) { if (!this.IsDomainAndMapSelectionDialogShown) { if (HasRelatedContentPanel) { if (RelatedContentController != null) { RelatedContentController.Invoke("mapLoadCompleted", rootMapLoaded); } } } }