示例#1
0
 /// <summary>
 /// 刷新页面
 /// </summary>
 public void Navigate()
 {
     if (ReportViewType == ReportViewType.Export)
     {
         HtmlView.Navigate(reportExportContent, ReportAbsoluteUrl);
     }
     else
     {
         HtmlView.Navigate(reportContent, ReportAbsoluteUrl);
     }
 }
示例#2
0
 /// <summary>
 /// 刷新Congos页面
 /// </summary>
 public void Navigate()
 {
     if (CognosViewType == ReportViewType.Export)
     {
         HtmlView.Navigate(congosExportContent, CognosAbsoluteUrl);
     }
     else
     {
         HtmlView.Navigate(congosContent, CognosAbsoluteUrl);
     }
 }
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);

            // Load base html
            string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;

            var isRtl = Thread.CurrentThread.CurrentCulture.TextInfo.IsRightToLeft;

            HtmlView.Navigate(new Uri(Path.Combine(path, isRtl ? "editor_rtl.html" : "editor.html")));
        }
示例#4
0
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);

            string path = AppDomain.CurrentDomain.SetupInformation.ApplicationBase;

            HtmlView.Navigate(new Uri(Path.Combine(path, "ThreadView.html")));

            ICustomDoc doc = (ICustomDoc)HtmlView.Document;

            doc.SetUIHandler(new DocHostUIHandler());
        }
示例#5
0
 /// <summary>
 ///  导航绝对页面
 /// </summary>
 /// <param name="url"></param>
 public void Navigate(string url)
 {
     HtmlView.Navigate(reportContent, url);
 }