Hi everyone. I have a problem with configuring some files after upgrade to DNN 9.10.2. First of all, we had some custom skins with code blocks <% .. %> in it and I solved loading skins problem with adding <asp:PlaceHolder runat="server"> <% %> .
BUT, new problem occured when I added our custom code we used in older versions written in Default.aspx.
So, as GetRolesByUser is deprecated in DotNetNuke 6.2 I didn't find exactly with which one method to replace it? Found this: https://dnncommunity.org/forums/aft/1119 but I'm not sure if this would work? I tried with: UserController.GetUserById(new DotNetNuke.Entities.Users.OnlineUserInfo().PortalID, DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo().UserID).Roles;
but then I get
When I delete any code in <asp:PlaceHolder runat="server"><% ..code.. %> my page loads fine. Like it won't work with code between block <asp:PlaceHolder runat="server"><% .... %>
Any ideas?
Also, I was wondering, regarding Telerik component vulnerability.. As we use several third party modules with Telerik and, for now, removing Telerik is not an option (but it definetly will be in future), I tested uninstalling Telerik from DNN and removing any references from web.config as described in documentation but copying back Telerik dll's to bin folder. So, just copying back dll's, with no references anywhere in config. In that case, our modules that user Telerik work, so I was wondering is there a way that this solution might be some kind of workaround to keep using Telerik without some security issues??
Please do not double post - this is the wrong forum, as it is about the community, and not to discuss any problems.
Happy DNNing! Michael
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.