locked
Loading ASPX file from LightSwitch form using URI RRS feed

  • Question

  • I'm trying to load an aspx file from a LightSwitch form using the following code:

       
    Uri codeuri = new Uri("../Report.aspx", UriKind.Relative);
                WebClient codereport = new WebClient();
                busyindicator.IsBusy = true;
                codereport.OpenReadCompleted += new OpenReadCompletedEventHandler(codereport_OpenReadCompleted);
                codereport.OpenReadAsync(codeuri);
    The aspx file is on the server side of the LS application.  The problem I'm having is codeuri doesn't end up getting the correct path. 

    Friday, September 6, 2013 6:03 PM