ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class / LoadUrl Property
Example

In This Topic
    LoadUrl Property
    In This Topic
    Gets or sets a URL from which to download the document asynchronously using internet protocols.
    Syntax
    'Declaration
     
    Public Property LoadUrl As String
    public string LoadUrl {get; set;}
    Example
    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";
    
    }
    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
    See Also