ActiveReports 8
LoadUrl Property
See Also  Example
GrapeCity.ActiveReports.Document.v8 Assembly > GrapeCity.ActiveReports.Document Namespace > SectionDocument Class : LoadUrl Property

Glossary Item Box

Gets or sets a URL from which to download the document asynchronously using internet protocols.

Syntax

Visual Basic (Declaration) 
Public Property LoadUrl As System.String
C# 
public System.string LoadUrl {get; set;}

Example

C#Copy Code
private void Form1_Load(object sender, EventArgs e)
{
    SectionReport1 rpt = new SectionReport1();
    rpt.Run();
    rpt.Document.Save(@"C:\Inetpub\wwwroot\LoadURLTest\report_Normal.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.ARNet, GrapeCity.ActiveReports.Document.Section.SaveOptions.Normal);
    this.viewer1.Document.LoadUrl = "http://localhost/Loadurltest/report_Normal.rdf";

}
Visual BasicCopy Code
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim rpt As New SectionReport1
    rpt.Run()
    rpt.Document.Save("C:\Inetpub\wwwroot\LoadURLTest\report_Normal.rdf", GrapeCity.ActiveReports.Document.Section.RdfFormat.ARNet, GrapeCity.ActiveReports.Document.Section.SaveOptions.Normal)
    Me.Viewer1.Document.LoadUrl = "http://localhost/Loadurltest/report_Normal.rdf"

End

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also