Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Missing icons when editing a custom moduleMissing icons when editing a custom module
Previous
 
Next
New Post
5/13/2013 8:32 PM
 

I have developed a custom module for which some icons do not show up when I log in as superuser and go into Edit mode at page level.

The following screen shot shows this: http://screencast.com/t/Xmv0fz33az6h

How can I ensure that the missing icons show up for the custom module?

 
New Post
5/19/2013 6:52 PM
 

I was able to solve this by removing  the highlighted code in bold from code-behind of my custom module.  Once, I did that, then I see the move icon. But why the highlighted code was causing this is not understood by me.

Also, not clear on how to get the edit icon show up next to settings icon?

 

CODE-BEHINDas below

Imports System
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports DotNetNuke
Imports DotNetNuke.Security
Namespace Sunil.ExamTracker
    Public Class viewExamTracker
        Inherits DotNetNuke.Entities.Modules.PortalModuleBase   'System.Web.UI.UserControl

        Protected Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            Dim x As Boolean = Me.IsEditable

            ' declare module actions
            Dim action As DotNetNuke.Entities.Modules.Actions.ModuleAction = New   DotNetNuke.Entities.Modules.Actions.ModuleAction(GetNextActionID)
            action.Title = "Add New Exam"
            action.CommandName = ""
            action.Url = EditUrl()
            action.Secure = SecurityAccessLevel.Edit
            action.Visible = True
            MyBase.Actions.Add(action)

            'MyBase.Actions.Add(GetNextActionID, "Add New Exam", "", "", "", URL:=EditUrl(), secure:=SecurityAccessLevel.Edit, Visible:=True)
        End Sub
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            'Put user code to initialize the page here

            Dim objExamTracker As New ExamTrackerController
            Dim list As ArrayList

            If Not Page.IsPostBack Then
                list = objExamTracker.GetExamTrackerList()
                Me.grdExamTracker.DataSource = list
                Me.grdExamTracker.DataBind()
            End If
        End Sub

    End Class 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Missing icons when editing a custom moduleMissing icons when editing a custom module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out