TabStrip renders as bullet list in DNN when I'm not host

4 posts, 0 answers
  1. Prom
    Prom avatar
    3 posts
    Member since:
    May 2008

    Posted 16 May 2008 Link to this post

    Hello all:
    First timer here testing out radcontrols in a dnn (4.5.6) installation.
    My problem is that while I am logged in as host in my dotnetnuke installation everything works fine. However, when I log in as any other user, my tabstrip renders as a bulleted list. I am trying to use this code not in a DNN skin but inside of a regular module, I have one module where i would like to use this tab functionality in. The code that I am using is copied from the MultiPage demo, I haven't changed one thing, so it should work fine.

    I checked the troubleshooting documentation and I noticed that it said to make sure that the web resource handler - webresource.axd was properly registered, which it is in my case. The weird thing is that everything works fine when I am logged in as host but it doesnt work when I am either not logged in or logged in as anyone else but host.

    I was curious so I looked at the source code of the page when I log in as host and also when I log in as another user (or not logged in at all for that matter). The only significant difference I could make out was that when I was logged in as host I would see this line in the html source in the <head> section of the file:
    <link type="text/css" rel="stylesheet" href="/dnndev/RadControls/TabStrip/Skins/Web20/styles.css" />
     
    When I would log in as anyone else that line does not show up in the source. Something else to mention was that when I was not logged in as host and I would make changes to the TabStrip's aesthetic properties (ie. BorderColor, BackColor, BorderWidth, BorderStyle, etc) those changes would make no difference at all, the control would still be rendered the same way (in a bullet list). But when i logged in as host al the changes were applied.

    Does anyone have any ideas on how to fix this? Thanx
  2. Prom
    Prom avatar
    3 posts
    Member since:
    May 2008

    Posted 16 May 2008 Link to this post

    Does anyone know what may be going on here? is this a mistake on my part or this a bug? thank-you for your help.

    ~p
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Blaize
    Blaize avatar
    88 posts
    Member since:
    Oct 2006

    Posted 17 May 2008 Link to this post

    Hey Prom,

    Your code could set a value to the radcontrolsdir property when logged as the host user, but set another value when logged as another user. Or, the other user may not have permissions to read the dnnhost/RadControls folder...

    Cheers,
    Blaize
  5. Prom
    Prom avatar
    3 posts
    Member since:
    May 2008

    Posted 18 May 2008 Link to this post

    Thanx for your reply Blaize, however, the permissions were all set properly for the directories that the control used. I dont think it really matters who is logged in to the DNN site since the web service always runs under the same user (ASPNET or NETWORK SERVICE), nonetheless i did check the permissions and everything was set properly.

    I think I managed to solve this issue by setting the Default Cache Time in the DNN's module registration page to -1 (meaning no caching). It was the oddest behavior I have seen, I would set a break point on the Page_Load event in VS and load the page as a regular user and the break point wouln't hit. However, when I logged in or out of the host account it would hit the break point all the time. It seems to be working fine now though, I hope this helps someone else.

Back to Top