I'm using page.loadcontrol to create an instance of a control. The problem is that it it keeps saying the page cannot be found.
I have compiled this application to one file and so there only .compiled files and a dll in the bin directory.Code:Dim control As Control = page.LoadControl("/controls/OrderDetails.ascx")
If i create a dummy file it tells me it has not been precompiled and so cannot be used.
Have i missed something or is there an issue with fully compiled sites?




Reply With Quote