Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in DotNetNuke > Errors with RadMenuActions after upgrading to DNN 5.1.2

Not answered Errors with RadMenuActions after upgrading to DNN 5.1.2

Feed from this thread
  • Daniel avatar

    Posted on Sep 6, 2009 (permalink)

    Hi

    I want to upgrade my DNN-Installation from 5.1.1 to 5.1.2. But after installation i get errors in my containers!

    DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. bei DotNetNuke.UI.Containers.ActionBase.get_PortalSettings() bei Telerik.DNN.SkinObjects.MenuActions.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace

    Other Users have also problems with this: http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/threadid/328102/scope/posts/threadpage/2/Default.aspx

    Regards
    Daniel

    Reply

  • Stepan avatar

    Posted on Sep 7, 2009 (permalink)

    It's not a good idea, but working
    In class DotNetNuke.UI.Containers.ActionBase (DotNetNuke.Library.vbproj)
    Property PortalSettings (starts with line 117)
    original code
            Protected ReadOnly Property PortalSettings() As PortalSettings 
                Get 
                    'following If clase left to preserve backwards compatibility 
                    'liable to be removed if related obsolete variable gets removed 
                    If Not PortalModule.PortalSettings.ActiveTab.IsAdminTab Then 
                        m_tabPreview = (PortalSettings.UserMode = PortalSettings.Mode.View) 
                    End If 
                    Return PortalController.GetCurrentPortalSettings 
                End Get 
            End Property 

    fixed
            Protected ReadOnly Property PortalSettings() As PortalSettings 
                Get 
                    'following If clase left to preserve backwards compatibility 
                    'liable to be removed if related obsolete variable gets removed 
                    'If Not PortalModule.PortalSettings.ActiveTab.IsAdminTab Then 
                        'm_tabPreview = (PortalSettings.UserMode = PortalSettings.Mode.View) 
                    'End If 
                    Return PortalController.GetCurrentPortalSettings 
                End Get 
            End Property 

    rebuild...





    Reply

  • Posted on Sep 7, 2009 (permalink)

    Isn't that just forcing view mode so the error doesn't display?  REALLY need a fix for this.

    Dax

    Reply

  • Dimitar Milushev Dimitar Milushev admin's avatar

    Posted on Sep 10, 2009 (permalink)

    Hi Dax,

    The RadControls SkinObject / Modules are not yet updated for DNN 5.1.2 and it is possible that there are changes in DNN 5.1.2 that break the compatibility if RadMenuActions.

    If there are no major problems, we are expecting the SkinObject / Modules package to be updated and fully tested by the end of next week.

    Thank you for your understanding.

    Best wishes,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • Daniel avatar

    Posted on Sep 11, 2009 (permalink)

    This sounds good!

    Thanks
    Daniel

    Reply

  • Paul avatar

    Posted on Sep 11, 2009 (permalink)

    Here's what I did:

    In DesktopModules/telerik.skinobjects/RadMenuActions.ascx.vb change line 44 from:

               
                    If (Me.PortalSettings.UserMode = PortalSettings.Mode.View OrElse MyBase.Parent.ID.IndexOf("-") > 0) Then 
     

    to
                    If (MyBase.Parent.ID.IndexOf("-") > 0 OrElse Not ActionManager.ActionControl.ModuleControl.ModuleContext.IsEditable()) Then 
     

    I'm not 100% sure that this is the "right" way to do this, but it seems to work.



    Reply

  • Posted on Sep 14, 2009 (permalink)

    Paul, your solution seemed to work, thanks!  Any update on the Telerik solution?

    Reply

  • Jay Mathis avatar

    Posted on Sep 17, 2009 (permalink)

    I can confirm this solution works.

    In line 44 or radmenuactions.vb , replace:

    Me

     

    .PortalSettings.UserMode = PortalSettings.Mode.View

    With :

     

    Not

     

    Me.ModuleControl.ModuleContext.IsEditable

     

     

    Reply

  • Cliff avatar

    Posted on Sep 21, 2009 (permalink)

    I am not sure if my issues are related to this post or if I need a new post.

    We installed the Telerik menu a couple of years ago at www.iar.ubc.ca and it still works fine after the DNN 5.1.2 upgrade. Is there something I am missing that might not be working related to containers mentioned in this thread? 

    I am having issues with the Admin / Host icons not showing up. I did not do the actual Telerik install but I am now responsible for management of this entire site. So I am a Telerik newbie. Can anyone suggest a detailed way to just turn off the icons in Telerik? They are only used on the Admin / Host menus.

    I am however having other serious issues for which I cannot seem to get any feedback. Not sure if they are Telerik related or not.

    I cannot edit Roles, http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/330214/scope/posts/Default.aspx 

    And I cannot Upload Files.
    http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/18/threadid/325006/scope/posts/threadpage/1/Default.aspx

    There may be other issues, but I am trying to at least resolve these known issues in hopes that maybe there is some common fix that will resolve them.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in DotNetNuke > Errors with RadMenuActions after upgrading to DNN 5.1.2