Hi -
Is there anyway to use an outside aspx file and still maintain user / portal settings?
Meaning...
I would like to use a file main.aspx and load a 'DNN' based ascx file that is able to access portal information. I have been able to create the files. If I load the ascx file as a module in dnn i have access to userid, etc. but if I login to dnn and then access the control through another aspx file I loose all my DNN info.
I tried to load it from an IFRAME in DNN but still no luck. I read that I need to add a portalId to the querystring of the new aspx file (aspx?portalid=1).
When I do I get a "Object reference not set to an instance of an object." error. -Entities.Portals.PortalSettings.GetPortalSettings
Thanks in advance
-John