Dear DotNetNuke Community,
Assuming the following:
I have a RadComboBox on one of my DotNetNuke user control pages (ascx), which has a property that points to a
web form page (aspx), that fills the RadComboBox with items.
And that I wanted to fill it with a list of Portal Tab Names, using the function:
DotNetNuke.Common.GetPortalTabs(0, False, False, False, False, True)
Now here's the thing.
When I put the web form page (aspx) in the root of my DotNetNuke directory, the GetPortalTabs
function returns nothing.
However.
When I put the web form page (aspx) in the DesktopModules directory, the GetPortalTabs
function returns an arraylist of TabInfo's.
So this is my question:
Why does a web form page (aspx) have to be put into the DesktopModules directory, to have access to the current
DotNetNuke properties and methods of the current logged in session?
And:
How does the DotNetNuke framework achieve this? - How is the web form page (aspx) in the DesktopModules directory,
given access to the DotNetNuke properties and methods of the current logged in session?
Thank you for any elucidation and any hairs you can give me to replace mine.
Best Regards,
Dave Kirkby.