Hi,
I have a project that uses an ASPX page (embeding some ASP.NET component), which I need to load into an AspPageBox control
All works ok if I use this in main application project (I have the ASPX page physically in app's root folder, and in AspPageBox I just set
this.Path = "myAspxpage.aspx"
But I want to use that into a library. So the aspx page and AsppageBox are both in the library.
If I set the ASPX page as Content, it is not copied onto main app's web folder on build.
Also, if I set it to "Copy to output directory" it gets copied to bin, where is of no use
I could set it as Embeded resource, but how to set its URL to the AspPageBox's path property?
Please, any suggestions are welcome.
Thanks