Hi John Thanks for the tip; however when developing a custom module where we want to show a gidview to all but only allow certain security groups to edit a record we displayed the edit column with the IsEditable function. This was simply done by specifying the visibility state of the edit column. <asp:ImageButtonID="btnEdit"runat="server"CommandName="Edit"ImageUrl="~/images/edit.gif" Visible='<%# IsEditable %>'/> With dnn 4.5.0 and 4.5.1 you can not be sure that the user would be in view or edit mode at all time. In View mode the IsEditable = false. The work arround we found was: Declare a new Boolean in the protected section: Protected isShowEdit AsBoolean = false On the page_Load set the variable following: isShowEdit = DotNetNuke.Security.Permissions.ModulePermissionController._ HasModulePermission(ModuleConfiguration.ModulePermissions, "EDIT") Then simply replace IsEditable with isShowEdit through out the page even on ModuleActions Actions.Add(GetNextActionID, Localization.GetString(Entities.Modules.Actions.ModuleActionType.AddContent, LocalResourceFile), Entities.Modules.Actions.ModuleActionType.AddContent, "", "add.gif", EditUrl(), False, DotNetNuke.Security.SecurityAccessLevel.View, isShowEdit, False) Then with code for skin as specified above the application is back to normal in dnn 4.5 Thanks |